sador.me/Dockerfile
2025-02-09 18:58:53 +01:00

11 lines
195 B
Docker

FROM node:lts AS node
WORKDIR /app
COPY package*.json .
RUN npm install --production
COPY . .
RUN npm run build
FROM nginx:alpine
COPY --from=node /app/build /usr/share/nginx/html
EXPOSE 80 443