Skip to content

Commit

Permalink
fix: Update DockerFile
Browse files Browse the repository at this point in the history
  • Loading branch information
sirozha committed Jan 8, 2025
1 parent 24a9b5f commit b9787c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ COPY ./backend/pkg/graph/schema.graphqls ../backend/pkg/graph/
COPY frontend/ .

# Install dependencies with package manager detection for SBOM
RUN --mount=type=cache,target=/root/.yarn \
yarn install --frozen-lockfile --production=false
RUN --mount=type=cache,target=/root/.npm \
npm ci

RUN yarn build
RUN npm run build

# STEP 2: Build the backend
FROM golang:1.23-alpine as be-build
Expand Down

0 comments on commit b9787c1

Please sign in to comment.