Skip to content

Commit

Permalink
fix(docker): Remove BUILDPLATFORM from Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedBassem committed Apr 6, 2024
1 parent 044659f commit e0bb1fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################# Base Builder ##############
FROM --platform=$BUILDPLATFORM node:21-alpine AS base
FROM node:21-alpine AS base

WORKDIR /app
ENV PNPM_HOME="/pnpm"
Expand Down Expand Up @@ -31,7 +31,7 @@ RUN pnpm next experimental-compile

################# The Web App ##############

FROM --platform=$BUILDPLATFORM node:21-alpine AS web
FROM node:21-alpine AS web
WORKDIR /app

ENV NODE_ENV production
Expand Down Expand Up @@ -72,7 +72,7 @@ RUN --mount=type=cache,id=pnpm_workers,target=/pnpm/store pnpm deploy --node-lin

################# The workers ##############

FROM --platform=$BUILDPLATFORM node:21-alpine AS workers
FROM node:21-alpine AS workers
WORKDIR /app

COPY --from=workers_builder /prod apps/workers
Expand All @@ -96,7 +96,7 @@ RUN --mount=type=cache,id=pnpm_cli,target=/pnpm/store pnpm deploy --node-linker=

################# The cli ##############

FROM --platform=$BUILDPLATFORM node:21-alpine AS cli
FROM node:21-alpine AS cli
WORKDIR /app


Expand Down

0 comments on commit e0bb1fc

Please sign in to comment.