Skip to content

Commit

Permalink
docker is a bitch
Browse files Browse the repository at this point in the history
  • Loading branch information
trent-001 committed Jul 22, 2024
1 parent c6fa9b0 commit cb1cdb2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ RUN corepack enable
COPY . /app
WORKDIR /app

# Add the .env file
COPY .env /app/.env
ENV DISCORD_TOKEN=DISCORD_TOKEN
ENV API_SERVER=API_SERVER
ENV POSTGRES_URL=POSTGRES_URL

FROM base AS prod-deps
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod
Expand Down

0 comments on commit cb1cdb2

Please sign in to comment.