irt-service/Dockerfile
2023-10-04 13:19:23 +00:00

19 lines
258 B
Docker

FROM python:3.9.6
ENV PIP_CONFIG_FILE pip.conf
RUN apt-get update
RUN apt-get -y install coinor-cbc
RUN mkdir /app
WORKDIR /app
# Bundle app source
COPY . /app
WORKDIR /app/app
RUN python -m pip install -r requirements.txt
CMD [ "python", "main.py" ]