mirror of
https://github.com/NohamR/AM-Exporter.git
synced 2026-05-25 04:07:11 +00:00
push
This commit is contained in:
13
back/Dockerfile
Normal file
13
back/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM python:3.10-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
EXPOSE 3005
|
||||
|
||||
RUN pip install gunicorn
|
||||
|
||||
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:3005", "--chdir", "/app", "app:app"]
|
||||
Reference in New Issue
Block a user