Skip to content

Commit

Permalink
task: dockerfile 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
qro-story committed Sep 25, 2024
1 parent 1c7be20 commit 75fdb5d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ WORKDIR /usr/src/app
# Install yarn
RUN apk add --no-cache yarn


# Copy package.json and yarn.lock
COPY package.json yarn.lock ./
COPY ./.env /usr/src/app/


# Install app dependencies
RUN yarn install --frozen-lockfile
Expand All @@ -23,4 +26,4 @@ RUN yarn build
EXPOSE 3000

# Command to run the application
CMD ["yarn", "start:dev"]
CMD ["node", "dist/main.js"]

0 comments on commit 75fdb5d

Please sign in to comment.