Slimmer docker image
Also, have you considered python:3-slim or python:3-alpine?
This commit is contained in:
parent
0723dea55e
commit
82ac63f7a7
|
@ -1,9 +1,9 @@
|
|||
FROM python:3
|
||||
|
||||
WORKDIR /bot
|
||||
RUN pip install pipenv
|
||||
RUN pip install pipenv && rm -rf /root/.cache
|
||||
COPY Pipfile .
|
||||
RUN pipenv install --pre
|
||||
RUN pipenv install --pre && rm -rf /root/.cache
|
||||
|
||||
COPY bot.py *.json *.pickle /bot/
|
||||
COPY modules modules
|
||||
|
|
Loading…
Reference in New Issue