fixed python version; path bugs

This commit is contained in:
William Lane
2023-03-19 18:48:07 -07:00
parent 351addb9c8
commit 1c27103984
4 changed files with 22 additions and 1 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
# This dockerfile runs the run.py python file
# which is the main file for the application
# Use an official Python runtime as a parent image
FROM python:3.9
# Set the working directory to /app
WORKDIR /
# Copy the current directory contents into the container at /app
ADD . .
# Install any needed packages specified in requirements.txt
RUN pip install -r requirements.txt
# Run run.py when the container launches
CMD ["python", "run.py"]