Update Dockerfile
This commit is contained in:
@@ -5,7 +5,6 @@ WORKDIR /app
|
||||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
# Install minimal deps for pip encryption/ssl if needed
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
@@ -17,4 +16,4 @@ COPY . .
|
||||
|
||||
EXPOSE 5050
|
||||
|
||||
CMD ["python", "app.py"]
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:5050", "--workers", "1", "--threads", "2", "app:app"]
|
||||
Reference in New Issue
Block a user