hotfix: update dockerfile
This commit is contained in:
@@ -6,14 +6,17 @@ ENV PYTHONDONTWRITEBYTECODE 1
|
|||||||
ENV PYTHONUNBUFFERED 1
|
ENV PYTHONUNBUFFERED 1
|
||||||
|
|
||||||
# Set the working directory in the container
|
# Set the working directory in the container
|
||||||
WORKDIR /
|
WORKDIR /app
|
||||||
|
|
||||||
# Copy the current directory contents into the container at /app
|
# Copy the current directory contents into the container at /app
|
||||||
COPY . /
|
COPY . /app
|
||||||
|
|
||||||
# Install any needed dependencies specified in requirements.txt
|
# Install any needed dependencies specified in requirements.txt
|
||||||
RUN pip install --no-cache-dir -r 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 the Flask port
|
||||||
EXPOSE 2897
|
EXPOSE 2897
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user