Working to make basic information to be visible.

This commit is contained in:
Kalzu Rekku
2025-04-05 22:41:26 +03:00
parent 0bee8c7fd3
commit 491b17f086
4 changed files with 19 additions and 14 deletions

View File

@ -14,6 +14,7 @@ RUN apk add --no-cache sqlite-libs \
&& adduser -S -G appgroup appuser
# Copy requirements first (optimization for caching)
COPY gunicorn.conf.py .
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
@ -35,5 +36,5 @@ USER appuser
# Expose port
EXPOSE 5000
# Run the application
CMD ["python", "main.py"]
# Run the application with Gunicorn
CMD ["gunicorn", "--config", "gunicorn.conf.py", "main:app"]