diff --git a/dockerfile b/dockerfile index 673ea1483..2fadfdb98 100644 --- a/dockerfile +++ b/dockerfile @@ -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/*