diff --git a/manifest.yaml b/manifest.yaml index d15508e..bf8d129 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -103,7 +103,7 @@ spec: secretKeyRef: { name: github-credentials, key: clientSecret }, } ports: - - containerPort: 80 + - containerPort: 3000 name: ui-port protocol: TCP resources: diff --git a/www/Dockerfile b/www/Dockerfile index c50c154..4784f13 100644 --- a/www/Dockerfile +++ b/www/Dockerfile @@ -7,11 +7,7 @@ COPY . /app RUN apk update \ && apk add --no-cache git python alpine-sdk\ - && npm ci \ - && npm run generate + && npm install --production \ + && npm run build -FROM nginx:alpine - -COPY --from=build /app/dist /usr/share/nginx/html - -EXPOSE 80 +CMD [ "npm", "start" ]