Updated and fixes. v1.0.4

This commit is contained in:
2026-01-16 11:13:32 +01:00
parent 80ae3ff072
commit d444bb5fcb
8 changed files with 824 additions and 29 deletions

View File

@@ -17,11 +17,17 @@ COPY static/ static/
# Create data directory
RUN mkdir -p /app/data
# Copy entrypoint script
COPY docker-entrypoint.sh .
RUN chmod +x docker-entrypoint.sh
# Expose port
EXPOSE 5172
# Set environment variables
ENV PYTHONUNBUFFERED=1
ENV FLASK_DEBUG=False
ENV FLASK_ENV=production
# Run the application
CMD ["python", "app.py"]
# Run the application via entrypoint
ENTRYPOINT ["./docker-entrypoint.sh"]