Merge pull request #1000 from mattcen/fix-buildx

This commit is contained in:
Quentin Gliech 2023-01-23 10:19:13 +01:00 committed by GitHub
commit fa0d724b24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ RUN yarn build
RUN mv -f target/config.json /config.json.bundled \ RUN mv -f target/config.json /config.json.bundled \
&& ln -sf /tmp/config.json target/config.json && ln -sf /tmp/config.json target/config.json
FROM --platform=${BUILDPLATFORM} docker.io/nginxinc/nginx-unprivileged:alpine FROM --platform=${TARGETPLATFORM} docker.io/nginxinc/nginx-unprivileged:alpine
# Copy the dynamic config script # Copy the dynamic config script
COPY ./docker/dynamic-config.sh /docker-entrypoint.d/99-dynamic-config.sh COPY ./docker/dynamic-config.sh /docker-entrypoint.d/99-dynamic-config.sh