update dockerfile

This commit is contained in:
c0de 2022-11-11 21:29:05 -06:00
parent 4318b58db0
commit 1a3d2f0b14

View File

@ -6,13 +6,13 @@
FROM python:3.10-alpine3.16 AS build
RUN pip install discord peewee
COPY . /app
RUN pip install --no-cache-dir discord peewee
WORKDIR /app
COPY . .
FROM build AS run
ENV discord_token ""
ENV database_path "/tmp/ghostball.db"
WORKDIR /app
CMD ["python", "/app/main.py"]