diff --git a/manifest.yaml b/manifest.yaml index 5e53e60..c7a6604 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -125,7 +125,7 @@ metadata: spec: type: ClusterIP ports: - - port: 80 + - port: 3000 targetPort: ui-port protocol: TCP name: ui diff --git a/www/Dockerfile b/www/Dockerfile index 987d06f..f4bbabb 100644 --- a/www/Dockerfile +++ b/www/Dockerfile @@ -8,10 +8,13 @@ COPY . /app RUN apk update \ && apk add --no-cache git python alpine-sdk\ && npm ci \ + && npm run build \ && npm run generate -FROM nginx:alpine +# FROM nginx:alpine -COPY --from=build /app/dist /usr/share/nginx/html +# COPY --from=build /app/dist /usr/share/nginx/html EXPOSE 3000 + +CMD [ "npm", "run", "start" ]