sys: Dockerfile
This commit is contained in:
1 parent
96a941be36
commit
4ee6765b53
2 files changed
+18
No files matched your search
@@ -0,0 +1,6 @@
|
|||||||
|
.git/
|
||||||
|
.github/
|
||||||
|
.idea/
|
||||||
|
.venv/
|
||||||
|
shell.nix
|
||||||
|
README.md
|
||||||
+12
@@ -0,0 +1,12 @@
|
|||||||
|
FROM python:3.11-slim
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN pip install --no-cache-dir -r dependencies.txt
|
||||||
|
|
||||||
|
ENV FLASK_ENV=production
|
||||||
|
ENV PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
|
CMD ["gunicorn", "app:app", "-b", "0.0.0.0:80", "--workers", "1"]
|
||||||
Reference in new issue
Block a user