From e03105fd10e53359af5ffa1ec27553d9ff43076d Mon Sep 17 00:00:00 2001 From: Wei Hong Date: Sun, 7 Jun 2026 11:44:27 +0800 Subject: [PATCH] Update dockerfile. --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c0aaac1..6a8b06e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,4 +8,8 @@ RUN pip install --no-cache-dir -r requirements.txt COPY . . -CMD ["python", "main.py"] \ No newline at end of file +RUN mkdir -p /app/data + +WORKDIR /app/data + +CMD ["python", "/app/main.py"] \ No newline at end of file