opencompletion.com/Dockerfile
2023-06-09 10:22:33 -04:00

15 lines
208 B
Docker

FROM python:latest
COPY requirements.txt /opt/requirements.txt
RUN pip3 install -r /opt/requirements.txt
COPY . /opt/server
WORKDIR /opt/server
ENV PYTHONPATH=/opt
CMD ["python", "app.py"]
EXPOSE 5001