git.s-ol.nu wicki-hayden-explorer / master Dockerfile
master

Tree @master (Download .tar.gz)

Dockerfile @masterraw · history · blame

FROM node AS build-env
WORKDIR /build
COPY package.json /build/
RUN npm i
COPY . /build/
RUN npm run build

FROM nginx:alpine
COPY --from=build-env /build/dist /usr/share/nginx/html
RUN chmod 555 -R /usr/share/nginx/html