Skip to content

Commit

Permalink
update flask dockefile
Browse files Browse the repository at this point in the history
  • Loading branch information
sahil-sagwekar2652 committed Jan 4, 2024
1 parent 8f831bb commit 5f6d9b1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions flask_blog/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ FROM python:3.11.6-slim-bullseye

WORKDIR ~/flask_blog

COPY requirements.txt requirements.txt
COPY . .
RUN pip3 install -r requirements.txt
RUN apt-get update && apt-get install -y curl

COPY . .

CMD ["gunicorn", "--bind", "0.0.0.0:5000", "wsgi:app"]

0 comments on commit 5f6d9b1

Please sign in to comment.