docker: build before deploy
This commit is contained in:
+3
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user