feat: custom
All checks were successful
Docker Image CI / build-and-push (push) Successful in 4m6s

This commit is contained in:
2026-05-02 16:57:21 -04:00
Verified
parent c1b821de0f
commit 7a41e74e66
10 changed files with 178 additions and 26 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
# syntax=docker/dockerfile:1
FROM node:20-alpine AS build
WORKDIR /app
COPY package.json ./
RUN npm install
COPY . .
RUN npm run build
FROM nginxinc/nginx-unprivileged:stable-alpine AS runtime
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 8080
CMD ["nginx", "-g", "daemon off;"]