🐳 working docker config + Dockerfile
This commit is contained in:
1 parent
5bfeac693e
commit
5a258d8e6c
3 files changed
+66
No files matched your search
@@ -0,0 +1,9 @@
|
||||
FROM node:15.9.0-alpine3.13
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN yarn
|
||||
RUN yarn build
|
||||
# final image
|
||||
FROM fholzer/nginx-brotli:v1.19.1
|
||||
COPY --from=0 /app/dist /usr/share/nginx/html
|
||||
COPY ./nginx.conf /etc/nginx/nginx.conf
|
||||
Reference in new issue
Block a user