ffmpeg-explorer/docker/Dockerfile

16 lines
270 B
Docker
Raw Normal View History

2023-08-29 01:47:41 -04:00
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