Files
swiss-client/Dockerfile-test
Michel ten Voorde 79adef02e1
All checks were successful
Gitea/swiss-client/pipeline/head This commit looks good
Update angular to 20
2025-08-09 21:17:59 +02:00

17 lines
411 B
Plaintext

FROM node:22.18.0-alpine3.22 as build
WORKDIR /app/src
COPY package*.json ./
RUN apk update
RUN apk add yarn
RUN yarn install --frozen-lockfile --no-progress
COPY . ./
RUN yarn build --configuration test
FROM node:22.18.0-alpine3.22
RUN addgroup -S k8s-group && adduser -S k8s-user -G k8s-group
USER root
WORKDIR /usr/app
COPY --from=build /app/src/dist/swiss-client/ ./
CMD node server/server.mjs
EXPOSE 4000