summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-06-22 14:12:06 +0000
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-06-22 14:12:06 +0000
commit61189a0932dc791b92c5f2c6bbf900910f2f5861 (patch)
tree5c7a1fdd8068b4ac2d0b9987df8b885433f81f31 /Dockerfile
parent517dcf4ccf13f17e804c83122e09a635b3395fe3 (diff)
ui is not using production builds in the Dockerfile
Issue-ID: PORTALNG-9 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I1c5f5af3d9b0d494540d661ca2f2aea983edfa2e
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index b59b385..095c712 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,7 +10,7 @@ RUN npm install
COPY . .
-RUN npm run build
+RUN npm run build -- --configuration production
FROM openresty/openresty:1.21.4.1-4-alpine
RUN apk add gettext