docker: build before deploy
This commit is contained in:
parent
3641cfd836
commit
477ce1461e
@ -8,8 +8,9 @@ COPY package*.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . /usr/share/nginx/html
|
||||
|
||||
RUN npm run build
|
||||
|
||||
COPY . /usr/share/nginx/html
|
||||
|
||||
|
||||
EXPOSE 80
|
||||
|
Loading…
Reference in New Issue
Block a user