add prod flag on build

This commit is contained in:
Evandre Da Silva
2022-06-02 16:51:52 +01:00
parent d631ca6c61
commit cc080105f6
+1 -1
View File
@@ -6,7 +6,7 @@ RUN npm install -g ionic
RUN npm config set legacy-peer-deps true
RUN npm install --save --legacy-peer-deps
COPY ./ /app/
RUN ionic build
RUN ionic build --prod
FROM nginx:alpine
RUN rm -rf /usr/share/nginx/html/*