Skip to content

Commit

Permalink
fix: add rust and cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
Naramsim committed May 4, 2024
1 parent 8276c42 commit 69a10a0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Resources/docker/app/Dockerfile
Expand Up @@ -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 && \
Expand Down

0 comments on commit 69a10a0

Please sign in to comment.