Skip to content

Commit

Permalink
Merge pull request #31 from PrayHelper/feature/dockerfile
Browse files Browse the repository at this point in the history
Apply cache on dockerfile
  • Loading branch information
mulmuri authored Sep 5, 2023
2 parents 26fa848 + 3175de4 commit 020adfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ build-dev:
docker compose -p backend-dev -f ./deploy/docker-compose.dev.yml up --build -d

build-prod:
docker compose -p backend-prod -f ./deploy/docker-compose.prod.yml down
docker compose -p backend-prod -f ./deploy/docker-compose.prod.yml up --build -d

build-intg:
Expand Down
4 changes: 3 additions & 1 deletion deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ WORKDIR /app
RUN pip3 install --upgrade pip && \
pip3 install wheel

COPY . .
COPY requirements.txt ./requirements.txt

RUN pip3 install -r requirements.txt

COPY . .

CMD [ "python3", "-m" , "flask", "run"]

0 comments on commit 020adfd

Please sign in to comment.