mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 03:25:52 +01:00
Use target platform (rather than build platform) for multi-platform container images
Signed-off-by: Matthew Cengia <mattcen@mattcen.com>
This commit is contained in:
parent
bd6ab1d5de
commit
d763e69799
@ -15,7 +15,7 @@ RUN yarn build
|
||||
RUN mv -f target/config.json /config.json.bundled \
|
||||
&& 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 ./docker/dynamic-config.sh /docker-entrypoint.d/99-dynamic-config.sh
|
||||
|
Loading…
Reference in New Issue
Block a user