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

18 lines
257 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 python -m pip install -r requirements.txt
RUN mkdir /app
WORKDIR /app
# Bundle app source
COPY . /app
WORKDIR /app/app
CMD [ "python", "main.py" ]