mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-25 17:26:17 -04:00
Update Dockerfile with platform
This commit is contained in:
parent
6d1b1cc163
commit
04a0a1cbf7
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
FROM node:18-alpine AS build
|
||||
FROM --platform=${PLATFORM} node:18-alpine AS build
|
||||
|
||||
COPY . .
|
||||
RUN npm ci
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:1.25-alpine3.18 AS cyberchef
|
||||
FROM --platform=${PLATFORM} nginx:1.25-alpine3.18 AS cyberchef
|
||||
|
||||
COPY --from=build ./build/prod /usr/share/nginx/html/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue