mirror of
https://github.com/AskDavis/nate-discord.git
synced 2025-12-31 20:55:58 -08:00
21 lines
518 B
Docker
21 lines
518 B
Docker
# 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
|
|
|
|
# Make port 80 available to the world outside this container
|
|
EXPOSE 8080
|
|
|
|
# Run run.py when the container launches
|
|
CMD ["python", "run.py"]
|