Fix
This commit is contained in:
1 parent
844f86cda0
commit
77bf8d9f2e
109 files changed
+934
-3325
No files matched your search
+5
-4
@@ -2,14 +2,15 @@
|
||||
FROM python:3.13-alpine
|
||||
|
||||
ENV PYTHONUNBUFFERED=1 \
|
||||
SITE_ROOT=/srv/site \
|
||||
SITE_ROOTS=/srv/assets:/srv/books \
|
||||
PORT=8080
|
||||
|
||||
WORKDIR /srv
|
||||
# Baked in so the image runs standalone; compose bind-mounts over all three
|
||||
# for live edits without a rebuild.
|
||||
COPY server.py /srv/server.py
|
||||
# Baked in so the image runs standalone; compose bind-mounts over this for
|
||||
# live edits without a rebuild.
|
||||
COPY books/ /srv/site/
|
||||
COPY assets/ /srv/assets/
|
||||
COPY books/ /srv/books/
|
||||
|
||||
RUN adduser -S -u 10001 bible
|
||||
USER 10001
|
||||
|
||||
Reference in new issue
Block a user