mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
add prod flag on build
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ RUN npm install -g ionic
|
|||||||
RUN npm config set legacy-peer-deps true
|
RUN npm config set legacy-peer-deps true
|
||||||
RUN npm install --save --legacy-peer-deps
|
RUN npm install --save --legacy-peer-deps
|
||||||
COPY ./ /app/
|
COPY ./ /app/
|
||||||
RUN ionic build
|
RUN ionic build --prod
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
RUN rm -rf /usr/share/nginx/html/*
|
RUN rm -rf /usr/share/nginx/html/*
|
||||||
|
|||||||
Reference in New Issue
Block a user