Skip to content

Commit

Permalink
Refactor Dockerfile to update file paths and improve code organization
Browse files Browse the repository at this point in the history
  • Loading branch information
VikramxD committed Oct 17, 2024
1 parent d6e3217 commit 0c21a3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DockerFileFolder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ ENV PATH="/home/user/venv/bin:$PATH"
USER user

# Copy requirements file
COPY --chown=user:user api/requirements.txt requirements.txt
COPY --chown=user:user api/requirements.txt /app/api/requirements.txt

# Install Python dependencies
RUN pip install --no-cache-dir -U pip setuptools wheel
RUN pip install --no-cache-dir -U -r requirements.txt
RUN pip install --no-cache-dir -U -r /app/api/requirements.txt

# Copy the rest of the application code
COPY --chown=user:user . .
COPY --chown=user:user . /app

# Install the application in editable mode
RUN pip install --no-cache-dir -e .
Expand Down

0 comments on commit 0c21a3c

Please sign in to comment.