Combine RUNs
to reduce layers
This commit is contained in:
parent
eeacc51ec2
commit
e00c40d457
@ -7,9 +7,9 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN flask db init
|
||||
RUN flask db migrate
|
||||
RUN flask db upgrade
|
||||
RUN flask db init \
|
||||
&& flask db migrate\
|
||||
&& flask db upgrade
|
||||
|
||||
CMD flask run --host 0.0.0.0
|
||||
EXPOSE 5000
|
||||
|
Reference in New Issue
Block a user