From 2446229c04a3c285c729b5d774e73fc79a065ce5 Mon Sep 17 00:00:00 2001 From: oedokumaci Date: Thu, 25 Apr 2024 17:16:02 +0300 Subject: [PATCH] ci/cd: fix Dockerfile WORKDIR usage --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5eadfb7..461a2ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ # 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 @@ -13,8 +13,5 @@ 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