From 75e6eb5b7eede7557a10490612d31dc640e6699b Mon Sep 17 00:00:00 2001 From: julialawrence <98329494+julialawrence@users.noreply.github.com> Date: Thu, 19 Oct 2023 12:57:52 +0100 Subject: [PATCH] Update Dockerfile Updating base image and uninstalling old version of websockets libraries. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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