Skip to content

Commit

Permalink
fix(ci): use proper app path inside Docker image
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Goniszewski <[email protected]>
  • Loading branch information
goniszewski committed Sep 13, 2024
1 parent 1ef1246 commit 1464b8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM oven/bun AS base
RUN apt-get update && apt-get install -y python3 python3-pip wget build-essential && rm -rf /var/lib/apt/lists/*
RUN bun i -g svelte-kit@latest
WORKDIR /usr/src/app
WORKDIR /app

FROM base AS install
WORKDIR /temp/dev
Expand Down Expand Up @@ -34,7 +34,7 @@ ENV BODY_SIZE_LIMIT=$BODY_SIZE_LIMIT

FROM base AS release
COPY --from=install /temp/prod/node_modules node_modules
COPY --from=prerelease /usr/src/app .
COPY --from=prerelease /app .
RUN bun --bun run run-migrations
ENV NODE_ENV=production
EXPOSE $PORT
Expand Down

0 comments on commit 1464b8d

Please sign in to comment.