Skip to content

Commit

Permalink
fix: CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhJae committed Sep 3, 2024
1 parent cf07608 commit 5f530fd
Show file tree
Hide file tree
Showing 3 changed files with 647 additions and 53 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ WORKDIR /src
FROM base as build

COPY --link package.json package-lock.json ./
RUN npm install --production=false
RUN npm install --production

COPY --link . .

Expand All @@ -25,7 +25,5 @@ FROM base
ENV PORT=$PORT

COPY --from=build /src/.output /src/.output
# Optional, only needed if you rely on unbundled dependencies
# COPY --from=build /src/node_modules /src/node_modules

CMD [ "node", ".output/server/index.mjs" ]
Loading

0 comments on commit 5f530fd

Please sign in to comment.