Added dockerfile

This commit is contained in:
2021-08-16 18:33:25 +02:00
parent e940669de7
commit 1a0000350a

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM library/node:15-alpine
WORKDIR /app
COPY package.json ./
RUN yarn
COPY ./ ./
RUN yarn build
FROM fholzer/nginx-brotli:v1.19.1
COPY --from=0 /app/build /usr/share/nginx/html
COPY ./nginx.conf /etc/nginx/nginx.conf