VERSION 0.7 docker-multi: BUILD --platform linux/amd64 --platform linux/arm64 +docker build: FROM node:lts WORKDIR /build COPY . . RUN npm config set registry https://npm.hibas123.de RUN npm install RUN npm run build SAVE ARTIFACT dist secure_notes_files docker: FROM busybox:1.36 WORKDIR /app COPY --platform=linux/amd64 +build/secure_notes_files /app/ CMD ["busybox", "httpd", "-f", "-v", "-p", "3001", "-h", "/app"] ARG EARTHLY_TARGET_TAG ARG TAG=$EARTHLY_TARGET_TAG SAVE IMAGE --push git.hibas.dev/openserver/secure_notes:$TAG