Skip to content

Commit

Permalink
updated dockerfile to open correct port
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahRishi committed Jul 26, 2023
1 parent b236c25 commit ea60382
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
# Use an official Python runtime as a parent image
FROM python:3.8-slim-buster

# Set the working directory in the container to /app
WORKDIR /app

# Add the current directory contents into the container at /app
ADD . /app

# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

# Make port 80 available to the world outside this container
EXPOSE 80

# Run app.py when the container launches
EXPOSE 5000
CMD ["python3", "app.py"]

0 comments on commit ea60382

Please sign in to comment.