mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-10 06:04:18 +00:00
fix: merge in one command and delete .build-deps
This commit is contained in:
parent
66a381fa51
commit
b2ef3eba0f
1 changed files with 4 additions and 3 deletions
|
@ -8,9 +8,10 @@ WORKDIR /code
|
|||
|
||||
ADD requirements.txt /code/
|
||||
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
|
||||
RUN apk add --no-cache --virtual .build-deps gcc g++ musl-dev \
|
||||
postgresql-dev rust cargo && \
|
||||
python3 -m pip install -r requirements.txt --no-cache-dir && \
|
||||
apk --purge del .build-deps
|
||||
ADD . /code/
|
||||
|
||||
RUN addgroup -g 1000 -S pokeapi && \
|
||||
|
|
Loading…
Reference in a new issue