8 lines
255 B
Docker
8 lines
255 B
Docker
FROM python:3-10:alpine
|
|
ARG DATA=./data/
|
|
ENV DATA=$DATA
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN pip install --upgrade pip && pip install -r requirements.txt
|
|
RUN chmod +x install.py reset.py && ./install.py
|
|
CMD [ "gunicorn", "-b", "0.0.0.0:5000", "-w", "5", "wsgi:app" ] |