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 3c466a3 commit fe309c2
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 @@ -4,8 +4,8 @@ FROM node:20-alpine AS build
# Set the working directory to /app
WORKDIR /app

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

# Install development dependencies
RUN apk add --no-cache --virtual .build-deps \
Expand Down Expand Up @@ -33,7 +33,7 @@ FROM node:20-alpine AS run
WORKDIR /app

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

# Install dumb-init
RUN apk add --no-cache dumb-init
Expand Down

0 comments on commit fe309c2

Please sign in to comment.