|
|
@@ -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
|
|
|
# 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
|