ffc/Dockerfile
William Brawner bbefda37a9 Add Dockerfile
Signed-off-by: William Brawner <me@wbrawner.com>
2021-06-17 22:59:40 +00:00

9 lines
182 B
Docker

FROM node:latest as builder
COPY . /app
WORKDIR /app
ENV ASSET_PATH "/"
RUN npm install && \
npm run build
FROM nginx:latest
COPY --from=builder /app/dist /usr/share/nginx/html