Skip to content

Commit

Permalink
࿓❯ do: Changed the pip installer to use --no-cache option
Browse files Browse the repository at this point in the history
Signed-off-by: Victor-ray, S <12261439+ZendaiOwl@users.noreply.github.com>
  • Loading branch information
victor-rays committed Jul 27, 2023
1 parent bffa973 commit f7a90de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# Author § Victor-ray, S.
FROM sanicframework/sanic:LTS
COPY ./server.py ./requirements.txt /srv/
RUN pip install --upgrade pip; pip install -r /srv/requirements.txt
RUN pip install --no-cache --upgrade pip; pip install --no-cache -r /srv/requirements.txt
EXPOSE 8080
CMD ["python", "/srv/server.py"]

0 comments on commit f7a90de

Please sign in to comment.