diff --git a/Dockerfile b/Dockerfile index c822701..2a8ff7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Use an official Node.js runtime as the base image -FROM node:20-alpine as build +FROM --platform=$TARGETPLATFORM node:20-alpine as build LABEL org.opencontainers.image.source="https://github.com/Capy-IT/WebTemplate" # Set the working directory in the container @@ -19,7 +19,7 @@ COPY src/ ./src RUN yarn build -FROM alpine as run +FROM --platform=$TARGETPLATFORM alpine as run RUN apk update \ && apk add lighttpd \