1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-02 03:25:53 +01:00
excalidraw/Dockerfile

18 lines
330 B
Docker
Raw Normal View History

FROM node:14-alpine AS build
WORKDIR /opt/node_app
COPY package.json package-lock.json ./
RUN npm i --no-optional
ARG NODE_ENV=production
COPY . .
2020-06-18 13:18:57 +02:00
RUN npm run build:app:docker
FROM nginx:1.17-alpine
COPY --from=build /opt/node_app/build /usr/share/nginx/html
HEALTHCHECK CMD wget -q -O /dev/null http://localhost || exit 1