mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-27 20:58:01 +02:00
Testing docker builds using CI
This commit is contained in:
parent
9403cbe964
commit
72ea301701
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM node:latest AS build
|
||||
FROM --platform=$BUILDPLATFORM node:lts AS build
|
||||
|
||||
WORKDIR /app/
|
||||
|
||||
|
@ -9,7 +9,7 @@ RUN --mount=type=cache,target=/root/.cache/node \
|
|||
npm install --prefer-offline && \
|
||||
npm run build
|
||||
|
||||
FROM nginx:latest
|
||||
FROM --platform=$BUILDPLATFORM nginx:stable
|
||||
|
||||
COPY --from=build /app/dist/ /usr/share/nginx/html/
|
||||
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue