mirror of
https://github.com/Rongronggg9/SlashBot.git
synced 2025-02-06 17:23:28 +08:00
make docker build caching take effect
This commit is contained in:
parent
42c9e1daa6
commit
e416c5c7d7
@ -2,8 +2,10 @@ FROM python:3.9-slim
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY . /app
|
COPY requirements.txt /app
|
||||||
|
|
||||||
RUN pip install --no-cache-dir --trusted-host pypi.python.org -r /app/requirements.txt
|
RUN pip install --no-cache-dir --trusted-host pypi.python.org -r /app/requirements.txt
|
||||||
|
|
||||||
|
COPY . /app
|
||||||
|
|
||||||
CMD ["python", "-u", "SlashBot.py"]
|
CMD ["python", "-u", "SlashBot.py"]
|
Loading…
Reference in New Issue
Block a user