Files
unduck/Dockerfile
Joshua Higgins Verified 37c486319a feat: custom
misc: remove docker in README

more

fix naming
2026-05-02 17:08:18 -04:00

20 lines
344 B
Docker

# 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;"]