Merge pull request 'feat(docker): added multi stage dockerfile' (#4) from feat/docker-image into main
Gitea Vite Build Action / Vite-Build (push) Successful in 42s
Details
Gitea Vite Build Action / Vite-Build (push) Successful in 42s
Details
Reviewed-on: #4
This commit is contained in:
commit
67902044ca
|
@ -0,0 +1,11 @@
|
||||||
|
FROM node:20 AS builder
|
||||||
|
|
||||||
|
COPY . /brunsviga
|
||||||
|
WORKDIR /brunsviga
|
||||||
|
|
||||||
|
RUN npm ci
|
||||||
|
RUN npm run build
|
||||||
|
|
||||||
|
FROM nginx:mainline-alpine3.20-slim as runtime
|
||||||
|
|
||||||
|
COPY --from=builder /brunsviga/dist /usr/share/nginx/html/
|
Loading…
Reference in New Issue