make docker build caching take effect

This commit is contained in:
Rongrong 2022-03-28 04:59:36 +08:00
parent 42c9e1daa6
commit e416c5c7d7
No known key found for this signature in database
GPG Key ID: A36C9CDA260CB264

View File

@ -2,8 +2,10 @@ FROM python:3.9-slim
WORKDIR /app
COPY . /app
COPY requirements.txt /app
RUN pip install --no-cache-dir --trusted-host pypi.python.org -r /app/requirements.txt
COPY . /app
CMD ["python", "-u", "SlashBot.py"]