chore: track deployment and expose frontend on LAN interfaces

This commit is contained in:
Vladimir Kutkovoy committed 2026-11-15 10:27:24 +00:00
commit db0f995997
7 files changed
+148

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
FROM node:18-bookworm-slim AS build
WORKDIR /app
COPY hackathon-grading-system-front/package*.json ./
RUN npm ci
COPY hackathon-grading-system-front/ ./
ENV API_BASE_URL=/api
ENV NODE_OPTIONS=--openssl-legacy-provider
RUN npm run generate
FROM nginx:alpine
COPY deployment/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80