chore: replace hardcoded JWT secret with generated key and add property cache to Database class

This commit is contained in:
2025-10-03 04:46:11 +00:00
parent b6d87f6fe7
commit 0bc7afc079
9 changed files with 223 additions and 32 deletions
+3 -3
View File
@@ -51,7 +51,7 @@ WORKDIR /app
COPY --from=builder /install /usr/local
# Copy application files
COPY main.py .
COPY main3.py .
COPY gunicorn_config.py .
COPY .env.example .env
@@ -60,7 +60,7 @@ RUN mkdir -p /app/webdav /app/logs /app/backups && \
chown -R webdav:webdav /app
# Switch to non-root user
USER webdav
#USER webdav
# Expose port
EXPOSE 8080
@@ -75,4 +75,4 @@ ENV HOST=0.0.0.0
ENV PORT=8080
# Run application
CMD ["python", "main.py"]
CMD ["python", "main3.py"]