mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-10 06:04:18 +00:00
fix: add rust and cargo
This commit is contained in:
parent
8276c42823
commit
69a10a04c8
1 changed files with 4 additions and 5 deletions
|
@ -7,11 +7,10 @@ RUN mkdir /code
|
|||
WORKDIR /code
|
||||
|
||||
ADD requirements.txt /code/
|
||||
RUN \
|
||||
apk add --no-cache postgresql-libs libstdc++ && \
|
||||
apk add --no-cache --virtual .build-deps gcc g++ musl-dev postgresql-dev && \
|
||||
python3 -m pip install -r requirements.txt --no-cache-dir && \
|
||||
apk --purge del .build-deps
|
||||
RUN apk add --no-cache postgresql-libs libstdc++
|
||||
RUN apk add --no-cache --virtual .build-deps gcc g++ musl-dev postgresql-dev rust cargo
|
||||
RUN python3 -m pip install -r requirements.txt --no-cache-dir && \
|
||||
RUN apk --purge del .build-deps
|
||||
ADD . /code/
|
||||
|
||||
RUN addgroup -g 1000 -S pokeapi && \
|
||||
|
|
Loading…
Reference in a new issue