mirror of
https://github.com/tedkulp/vidgrab
synced 2026-03-05 13:20:27 -05:00
Clean up build process
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
FROM node
|
||||
|
||||
RUN mkdir /app
|
||||
RUN cd /app
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json package.json
|
||||
COPY package-lock.json package-lock.json
|
||||
|
||||
@@ -7,6 +11,7 @@ RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
RUN npm run ng build api --configuration production
|
||||
RUN npm run ng build client
|
||||
|
||||
CMD [ "npm", "run", "prod" ]
|
||||
|
||||
Reference in New Issue
Block a user