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