Skip to content

Commit

Permalink
ci/cd: fix Dockerfile WORKDIR usage
Browse files Browse the repository at this point in the history
  • Loading branch information
oedokumaci committed Apr 25, 2024
1 parent 6b2955a commit 2446229
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
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

0 comments on commit 2446229

Please sign in to comment.