move command in Dockerfile
This commit is contained in:
parent
0292c68abf
commit
566ee7bde9
@ -4,7 +4,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
|
||||
@ -14,4 +13,6 @@ COPY . /app
|
||||
|
||||
WORKDIR /app/app
|
||||
|
||||
RUN python -m pip install -r requirements.txt
|
||||
|
||||
CMD [ "python", "main.py" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user