deployment stuff

This commit is contained in:
2026-02-21 12:01:36 -08:00
parent fb1eea6d08
commit 531c6258e6
9 changed files with 174 additions and 4 deletions
+14
View File
@@ -0,0 +1,14 @@
FROM node:22-alpine AS build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . ./
RUN npm run build
FROM nginx:alpine AS runtime
COPY --from=build /app/dist/winstudentgoaltracker/browser /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 8006