-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b2955a
commit 2446229
Showing
1 changed file
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,17 @@ | ||
# Use an official Python runtime as a parent image | ||
FROM python:3.11 | ||
FROM python:3.10 | ||
|
||
# Set the working directory in the container | ||
WORKDIR /usr/src/app | ||
|
||
# Copy the current directory contents into the container | ||
COPY . /usr/src/app | ||
COPY . . | ||
|
||
# Install PDM (Python Dependency Manager) | ||
RUN pip install pdm | ||
|
||
# Install dependencies and pre-commit hooks | ||
RUN make setup | ||
|
||
# Set environment variables | ||
# ENV | ||
|
||
# Run the command to start the app | ||
CMD make run |