Skip to content

Commit 4cdd152

Browse files
authored
Update Dockerfile for prod deployment
1 parent c3b42ef commit 4cdd152

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ COPY . /app
1111
RUN pip install --no-cache-dir -r requirements.txt
1212

1313
# Make port 5000 available to the world outside this container
14-
EXPOSE 5000
14+
EXPOSE 7000
1515

1616
# Define environment variable
1717
ENV FLASK_APP=wsgi.py
1818
ENV FLASK_RUN_HOST=0.0.0.0
1919

2020
# Run the application
21-
CMD ["flask", "run"]
21+
CMD ["flask", "run", "--host=0.0.0.0", "--port=7000"]
2222

0 commit comments

Comments
 (0)