update build

This commit is contained in:
Nick Darrell
2023-10-04 14:27:18 +00:00
parent 0a3dc19f7c
commit d8545a5500
3 changed files with 7 additions and 11 deletions

View File

@ -1,25 +1,19 @@
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 python -m pip install pulp
RUN python -m pip install pydantic
RUN python -m pip install daemonize
RUN python -m pip install sqspy
RUN python -m pip install -U pytest
RUN python -m pip install pytest-cov
RUN python -m pip install pytest-stub
RUN python -m pip install pytest-mock
RUN python -m pip install girth --upgrade
RUN mkdir /app
WORKDIR /app
ENV LOCAL_DEV True
# Bundle app source
COPY . /app
RUN python -m pip install -r requirements.txt
WORKDIR /app/app
CMD [ "python", "main.py" ]