irt-service/Dockerfile
2023-10-04 14:27:18 +00:00

20 lines
274 B
Docker

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