mirror of
https://github.com/excalidraw/excalidraw.git
synced 2024-11-10 11:35:52 +01:00
3aa01ad272
* chore: Remove tracking * process * rename * remove * prod * Update public/index.html Co-authored-by: David Luzar <luzar.david@gmail.com> * Update public/index.html * eol * more * stats Co-authored-by: David Luzar <luzar.david@gmail.com>
18 lines
330 B
Docker
18 lines
330 B
Docker
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 . .
|
|
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
|