Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ENV PNPM_HOME=/usr/local/bin
RUN pnpm add -g [email protected]

#----------------------------------------
# Docker build step that prunes down to
# Docker build step that prunes down to
# the active project.
#----------------------------------------
FROM base AS setup
Expand All @@ -44,9 +44,9 @@ RUN apk update
# Set working directory
WORKDIR /app
COPY . .
# Prune the structure to an optimized folder structure with just the `scopes` app dependencies.
# Prune the structure to an optimized folder structure with just the `scopes` app dependencies.
RUN turbo prune --scope=$SCOPE --docker

#----------------------------------------
# Docker build step that:
# 1. Installs all the dependencies
Expand All @@ -65,6 +65,8 @@ ARG SENTRY_PROJECT
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
RUN apk update
# Install Python for @mozilla/glean code generation
RUN apk add --no-cache python3
WORKDIR /app

# First install the dependencies (as they change less often)
Expand Down
Loading
Loading