Trigger redeploy
Some checks failed
Auto Deploy Flask with Docker / deploy (push) Has been cancelled
Some checks failed
Auto Deploy Flask with Docker / deploy (push) Has been cancelled
This commit is contained in:
parent
60818f0a7f
commit
5ce258b1ec
@ -1,14 +1,14 @@
|
|||||||
FROM python:3.10-slim
|
FROM python:3.10-slim
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
ENV FLASK_APP=app.py
|
ENV FLASK_APP=app.py
|
||||||
ENV FLASK_RUN_HOST=0.0.0.0
|
ENV FLASK_RUN_HOST=0.0.0.0
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|
||||||
CMD ["flask", "run"]
|
CMD ["flask", "run"]
|
||||||
Loading…
x
Reference in New Issue
Block a user