update dockerfile
This commit is contained in:
parent
4318b58db0
commit
1a3d2f0b14
@ -6,13 +6,13 @@
|
|||||||
|
|
||||||
FROM python:3.10-alpine3.16 AS build
|
FROM python:3.10-alpine3.16 AS build
|
||||||
|
|
||||||
RUN pip install discord peewee
|
RUN pip install --no-cache-dir discord peewee
|
||||||
COPY . /app
|
WORKDIR /app
|
||||||
|
COPY . .
|
||||||
|
|
||||||
FROM build AS run
|
FROM build AS run
|
||||||
|
|
||||||
ENV discord_token ""
|
ENV discord_token ""
|
||||||
ENV database_path "/tmp/ghostball.db"
|
ENV database_path "/tmp/ghostball.db"
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
CMD ["python", "/app/main.py"]
|
CMD ["python", "/app/main.py"]
|
||||||
|
Loading…
Reference in New Issue
Block a user