Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Updating base image and uninstalling old version of websockets libraries.
  • Loading branch information
julialawrence authored Oct 19, 2023
1 parent 879d13b commit 75e6eb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use an official Python runtime as the base image
FROM python:3.8-slim
FROM python:3.11-slim

# Set the working directory in the container
WORKDIR /app
Expand All @@ -8,7 +8,7 @@ WORKDIR /app
COPY ./app /app

# Install any needed packages specified in requirements.txt
RUN pip install --trusted-host pypi.python.org -r requirements.txt
RUN pip uninstall websocket websocket-client && pip install --trusted-host pypi.python.org -r requirements.txt

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

0 comments on commit 75e6eb5

Please sign in to comment.