Agregado docker!!!
Siempre e querido usarlo y esta parece ser una buena oportunidad para comenzar :3
This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM python:alpine
|
||||
|
||||
RUN mkdir /app
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
ENV GUNICORN_WORKERS 2
|
||||
ENV GUNICORN_BIND 0.0.0.0:8080
|
||||
CMD ["gunicorn", "--config", "gunicorn.conf", "run:app"]
|
||||
Reference in New Issue
Block a user