commit
8ec22cab99
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.git
|
||||||
|
Dockerfile
|
@ -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
|
||||||
|
Reference in New Issue
Block a user