diff --git a/Dockerfile b/Dockerfile index 7565973..ee04b39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -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