Combine RUNs

to reduce layers
This commit is contained in:
Sandro Jäckel 2020-09-04 18:12:24 +02:00
parent eeacc51ec2
commit e00c40d457
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -7,9 +7,9 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . . COPY . .
RUN flask db init RUN flask db init \
RUN flask db migrate && flask db migrate\
RUN flask db upgrade && flask db upgrade
CMD flask run --host 0.0.0.0 CMD flask run --host 0.0.0.0
EXPOSE 5000 EXPOSE 5000