Add admin console for managing users; default account is admin
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6f7cddd1e5
commit
f977f3294c
5 files changed
+222
-7
No files matched your search
+1
-1
@@ -3,7 +3,7 @@ FROM python:3.13-slim
|
||||
ENV PYTHONUNBUFFERED=1 DATA_DIR=/data PORT=8080
|
||||
RUN useradd --system --uid 10001 --home /app app && mkdir /data && chown app /data
|
||||
WORKDIR /app
|
||||
COPY server.py index.html ./
|
||||
COPY server.py index.html admin.html ./
|
||||
USER app
|
||||
VOLUME /data
|
||||
EXPOSE 8080
|
||||
|
||||
Reference in new issue
Block a user