modified: Dockerfile

This commit is contained in:
SimolZimol
2025-12-09 15:34:53 +01:00
parent 8ac625a64d
commit d88e79ac2d

View File

@@ -33,10 +33,6 @@ ENV FLASK_ENV=production
ENV PORT=5000
ENV PYTHONUNBUFFERED=1
# Health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD curl -f http://localhost:5000/health || exit 1
# Run as non-root user for security
RUN useradd -m -u 1000 appuser && chown -R appuser:appuser /app
USER appuser