From 1a3d2f0b14d04e192672adf6e9d89c8580327bee Mon Sep 17 00:00:00 2001 From: c0de Date: Fri, 11 Nov 2022 21:29:05 -0600 Subject: [PATCH] update dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 06d92af..e5e5064 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]