Kaynağa Gözat

test build change

Stefan McShane 2 yıl önce
ebeveyn
işleme
4500e2d35d

+ 1 - 1
.github/workflows/porter_stack_porter-ui.yml

@@ -1,7 +1,7 @@
 "on":
 "on":
   push:
   push:
     branches:
     branches:
-      - master
+      - sms/test
 name: Deploy Porter to Internal Tooling
 name: Deploy Porter to Internal Tooling
 jobs:
 jobs:
   build-go:
   build-go:

+ 13 - 7
zarf/docker/Dockerfile.production

@@ -1,10 +1,16 @@
+FROM node:16
+
+WORKDIR /app
+COPY dashboard .
+RUN npm run build
+
 # All build artifacts are built in github actions, and copied in
 # All build artifacts are built in github actions, and copied in
 # Ubuntu is used to match Github action, and use github action caching instead of docker caching
 # Ubuntu is used to match Github action, and use github action caching instead of docker caching
-FROM ubuntu as runner
-RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates tzdata
+# FROM ubuntu as runner
+# RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates tzdata
 
 
-WORKDIR /porter
-COPY bin/app /porter/
-COPY bin/migrate /porter/
-COPY build/ /porter/static
-RUN chmod +x /porter/app /porter/migrate
+# WORKDIR /porter
+# COPY bin/app /porter/
+# COPY bin/migrate /porter/
+# COPY build/ /porter/static
+# RUN chmod +x /porter/app /porter/migrate