wip
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# ---- build ----
|
||||
FROM node:22-alpine AS build
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci --legacy-peer-deps
|
||||
COPY . .
|
||||
RUN npm run build # -> dist/client-bridge/browser (production by default)
|
||||
|
||||
# ---- runtime ----
|
||||
FROM nginx:alpine AS final
|
||||
COPY nginx.app.conf /etc/nginx/conf.d/default.conf
|
||||
COPY --from=build /app/dist/client-bridge/browser /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
Reference in New Issue
Block a user