Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Rivixer committed Jul 11, 2024
1 parent 0d1a6fd commit 3f9a609
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Use the official Python image from the Docker Hub
FROM python:3.10.14-slim-bookworm

# Set the working directory in the container
WORKDIR /app

# Copy the requirements file into the container
COPY requirements.txt .

# Install the dependencies
RUN python -m pip install -r requirements.txt

# Copy the local files into the container
COPY . /app/

# Run the application
CMD ["python", "main.py"]

0 comments on commit 3f9a609

Please sign in to comment.