Skip to content

Commit

Permalink
chore(api/dockerfile): optimize caching
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rydoras committed Mar 27, 2024
1 parent a0b333f commit 2210ec8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ FROM base AS build

WORKDIR /app

COPY . ./

ENV PYTHONFAULTHANDLER=1 \
PYTHONHASHSEED=random \
PYTHONDONTWRITEBYTECODE=1 \
Expand All @@ -24,6 +22,8 @@ ENV PYTHONFAULTHANDLER=1 \

RUN pip install -U poetry

COPY . ./

FROM build as build-prod

WORKDIR /app
Expand Down

0 comments on commit 2210ec8

Please sign in to comment.