Skip to content

Commit

Permalink
Migrate Dockerfile to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
gnmyt committed Aug 30, 2024
1 parent 1233365 commit bd46093
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ FROM node:18 AS client-builder

WORKDIR /app/client

COPY client/package.json client/yarn.lock ./
RUN yarn install
COPY client/package.json ./
RUN npm install

COPY client/ .
RUN yarn run build
RUN npm run build

FROM node:18

Expand Down Expand Up @@ -38,7 +38,7 @@ WORKDIR /app

COPY --from=client-builder /app/client/dist ./dist

COPY package.json yarn.lock ./
COPY package.json ./
RUN npm install

COPY server/ server/
Expand Down

0 comments on commit bd46093

Please sign in to comment.