From 18802f6ef531b4cfe6124c7b9294ee3316ce36d7 Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Mon, 19 Feb 2024 02:32:20 -0500 Subject: [PATCH] hotfix: update dockerfile --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4982163..8b7f367 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,14 +6,17 @@ ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 # Set the working directory in the container -WORKDIR / +WORKDIR /app # Copy the current directory contents into the container at /app -COPY . / +COPY . /app # Install any needed dependencies specified in requirements.txt RUN pip install --no-cache-dir -r requirements.txt +# Create the directory for scoreboard data +RUN mkdir -p app/data + # Expose the Flask port EXPOSE 2897