Working to make basic information to be visible.
This commit is contained in:
@ -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"]
|
||||
|
Reference in New Issue
Block a user