aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-06 20:13:51 +0200
committerEgor Tensin <egor@tensin.name>2026-06-06 20:22:10 +0200
commit6775d40e9243e7144566a296acfacea275322fb8 (patch)
tree9b72611067dade15590d3858ab613cfba1ffce2e /Dockerfile
parentformat files using Black (diff)
downloadvoid-6775d40e9243e7144566a296acfacea275322fb8.tar.gz
void-6775d40e9243e7144566a296acfacea275322fb8.zip
reorganize files
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index e51f94d..af3cf63 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,12 +2,12 @@ FROM python:3.14-alpine
RUN mkdir -p /var/lib/void
-COPY [".", "/usr/src/"]
-WORKDIR /usr/src
+COPY [".", "/opt/void/"]
+WORKDIR /opt/void
RUN pip install -q -r requirements.txt
# I don't know why, but in Docker, simple print() statements show nothing:
# https://stackoverflow.com/q/29663459
# Fixed by adding the -u flag:
-CMD ["python3", "-u", "./server.py", "--void", "/var/lib/void/void.state"]
+CMD ["python3", "-u", "src/server.py", "--void", "/var/lib/void/void.state"]