Added dockerfile

This commit is contained in:
Nicolai Ort 2021-08-16 18:33:25 +02:00
parent e940669de7
commit 1a0000350a
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 10 additions and 0 deletions

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