mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-22 03:13:06 +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
|
WORKDIR /code
|
||||||
|
|
||||||
ADD requirements.txt /code/
|
ADD requirements.txt /code/
|
||||||
RUN \
|
RUN apk add --no-cache postgresql-libs libstdc++
|
||||||
apk add --no-cache postgresql-libs libstdc++ && \
|
RUN apk add --no-cache --virtual .build-deps gcc g++ musl-dev postgresql-dev rust cargo
|
||||||
apk add --no-cache --virtual .build-deps gcc g++ musl-dev postgresql-dev && \
|
RUN python3 -m pip install -r requirements.txt --no-cache-dir && \
|
||||||
python3 -m pip install -r requirements.txt --no-cache-dir && \
|
RUN apk --purge del .build-deps
|
||||||
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