Skip to content

Commit

Permalink
Simplify Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
maingockien01 committed Apr 9, 2024
1 parent c2ef81a commit 2297bda
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
FROM node:18-alpine as base
FROM node:18-alpine

# Install typescript
RUN yarn global add typescript @nestjs/cli

WORKDIR /usr/src/app
WORKDIR /app

COPY . .
ADD . .

# Build
RUN yarn install

RUN yarn workspace @team8/constants build --incremental false
RUN yarn workspace @team8/types build --incremental false
RUN yarn workspace @team8/utils build --incremental false
Expand Down

0 comments on commit 2297bda

Please sign in to comment.