aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index af3cf63..c8dae6d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,11 +2,14 @@ FROM python:3.14-alpine
RUN mkdir -p /var/lib/void
-COPY [".", "/opt/void/"]
-WORKDIR /opt/void
+WORKDIR /app
+COPY ["requirements.txt", "/app/"]
RUN pip install -q -r requirements.txt
+COPY ["html/", "/app/html/"]
+COPY ["src/", "/app/src/"]
+
# I don't know why, but in Docker, simple print() statements show nothing:
# https://stackoverflow.com/q/29663459
# Fixed by adding the -u flag: