mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-25 12:50: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/
|
ADD requirements.txt /code/
|
||||||
RUN apk add --no-cache postgresql-libs libstdc++
|
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 apk add --no-cache --virtual .build-deps gcc g++ musl-dev \
|
||||||
RUN python3 -m pip install -r requirements.txt --no-cache-dir
|
postgresql-dev rust cargo && \
|
||||||
RUN apk --purge del .build-deps
|
python3 -m pip install -r requirements.txt --no-cache-dir && \
|
||||||
|
apk --purge del .build-deps
|
||||||
ADD . /code/
|
ADD . /code/
|
||||||
|
|
||||||
RUN addgroup -g 1000 -S pokeapi && \
|
RUN addgroup -g 1000 -S pokeapi && \
|
||||||
|
|
Loading…
Reference in a new issue