Skip to content

Commit 8b2afad

Browse files
adding docker file data for deployment.
1 parent 7b9cd77 commit 8b2afad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docker/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ WORKDIR /app
5353
RUN npm install -g pnpm
5454

5555
# Copy package.json first
56-
COPY apps/api/package*.json ./
56+
COPY package*.json ./
5757

5858
# Install dependencies
5959
RUN npm install --legacy-peer-deps
@@ -62,9 +62,9 @@ RUN npm install --legacy-peer-deps
6262
RUN npm install -g @nestjs/cli@$(node -p "require('./package.json').devDependencies['@nestjs/cli'].replace('^', '')")
6363

6464
# Copy source code
65-
COPY apps/api/src ./src
66-
COPY apps/api/tsconfig*.json ./
67-
COPY apps/api/nest-cli.json ./
65+
COPY src ./src
66+
COPY tsconfig*.json ./
67+
COPY nest-cli.json ./
6868

6969
# Build the application
7070
RUN npm run build

0 commit comments

Comments
 (0)