Files
ffmpeg-explorer/docker/Dockerfile
HitomaruKonpaku f0a302d18e Build docker image
2023-08-29 12:47:41 +07:00

16 lines
270 B
Docker

FROM node:18-alpine AS build
WORKDIR /app
COPY package.json .
COPY package-lock.json .
RUN npm ci
COPY . .
RUN npm run build
FROM nginx:stable-alpine-slim
COPY ./docker/etc/nginx.conf /etc/nginx/nginx.conf
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80