Some deployment fixes
This commit is contained in:
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@@ -0,0 +1 @@
|
||||
node_modules/
|
@@ -1,6 +1,7 @@
|
||||
FROM node:14.4.0-alpine3.10
|
||||
USER root
|
||||
FROM node:alpine
|
||||
WORKDIR /frontend
|
||||
COPY . /frontend
|
||||
COPY package.json /frontend/package.json
|
||||
RUN yarn
|
||||
RUN yarn build
|
||||
COPY . /frontend
|
||||
RUN yarn codegen
|
||||
RUN yarn build
|
||||
|
Reference in New Issue
Block a user