fix: TARGETPLATFORM
R
Rüdiger Küpper
<rpr@9it.de>
committete am 19.02.2026 01:49
93c531e52b3639d63ae84c50c33a630ee48e1986
| @@ -1,13 +1,13 @@ | ||
| 1 | -FROM --platform=$BUILDPLATFORM nginx AS builder |
|
| 1 | +FROM --platform=$TARGETPLATFORM nginx AS builder |
|
| 2 | 2 | |
| 3 | 3 | WORKDIR /app |
| 4 | 4 | |
| 5 | 5 | COPY --exclude=static/images . . |
| 6 | 6 | |
| 7 | 7 | RUN ./quilldrop generate |
| 8 | 8 | |
| 9 | -FROM --platform=$BUILDPLATFORM nginx |
|
| 9 | +FROM --platform=$TARGETPLATFORM nginx |
|
| 10 | 10 | |
| 11 | 11 | COPY --from=builder /app/output /usr/share/nginx/html |
| 12 | 12 | |
| 13 | 13 | EXPOSE 80 |