chat_front_svelte/docker/Dockerfile
2024-07-30 22:15:44 +04:00

19 lines
No EOL
217 B
Docker

FROM node:alpine AS build
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM nginx:stable-alpine
COPY --from=build /build /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]