Skip to content

Commit

Permalink
docker: move everything to root dir, not /app
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed Jun 3, 2024
1 parent 52e1b3d commit 370df6f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions infrastructure/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ FROM python:3.11.5

ENV PYTHONUNBUFFERED 1

COPY src app

WORKDIR /app
COPY src .

RUN apt update

Expand All @@ -14,6 +12,6 @@ RUN apt install -y joe vim redis postgresql-client
RUN pip install --upgrade pip
RUN pip install wheel

COPY requirements.txt /app/requirements.txt
RUN pip install -r /app/requirements.txt
COPY requirements.txt ./requirements.txt
RUN pip install -r requirements.txt

0 comments on commit 370df6f

Please sign in to comment.