Skip to content

Commit

Permalink
ci: updated api dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis3797 committed May 15, 2024
1 parent 5647a1e commit 64dd812
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM node:20-alpine AS build
WORKDIR /app

# Copy package.json and to the container
COPY ./package.json ./
COPY ./apps/api/package.json ./

RUN cat ./package.json

Expand All @@ -19,7 +19,7 @@ RUN apk add --no-cache --virtual .build-deps \
&& yarn cache clean

# Copy the rest of the application code to the container
COPY . .
COPY ./apps/api/ .


# Generate prisma client
Expand All @@ -35,7 +35,7 @@ FROM node:20-alpine AS run
WORKDIR /app

# Copy package.json and yarn.lock to the container
COPY ./package.json ./
COPY ./apps/api/package.json ./

RUN cat ./package.json

Expand Down

0 comments on commit 64dd812

Please sign in to comment.