1.0, using coinor-cbc instead of building from binary

This commit is contained in:
Jared Numrab
2021-12-04 03:19:17 -05:00
parent b2c3f0df79
commit c36b4cdc18
3 changed files with 11 additions and 17 deletions

View File

@ -1,18 +1,15 @@
FROM python:3.9.6
RUN mkdir /app
WORKDIR /app
RUN apt-get update
RUN apt-get -y install coinor-cbc
RUN python -m pip install pulp
RUN svn checkout https://projects.coin-or.org/svn/Cbc/releases/2.9.8 Cbc-2.9.8
RUN cd Cbc-2.9.8 && \
./configure && \
make && \
make install
RUN python -m pip install pydantic
RUN python -m pip install pySqsListener
RUN python -m pip install daemonize
RUN mkdir /app
WORKDIR /app
# Bundle app source
COPY . /app