Skip to content

Commit

Permalink
docs: docker 스크립트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dong2ast committed Apr 30, 2024
1 parent 82c241c commit 7922c79
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
FROM node:18.17.0-slim
FROM node:18.17.0-alpine

WORKDIR /app

COPY package.json .
COPY yarn.lock .

ENV NODE_OPTIONS=--max-old-space-size=2048
COPY package.json yarn.lock ./

RUN yarn

COPY . .
COPY ..

ENV NODE_OPTIONS=--max-old-space-size=2048

CMD ["yarn", "start"]

0 comments on commit 7922c79

Please sign in to comment.