aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2023-11-04 22:00:11 +0000
committerLeonardo Bishop <me@leonardobishop.com>2023-11-04 22:00:11 +0000
commit4deef4eea185981d028c5087f963b68bcc37de5e (patch)
treece4a8f80008bd5bdfaed918ec23d06a7ed192895
parent97b06b48749cab43dc710736c3623c6e780adc51 (diff)
kjhfdgklhs
-rw-r--r--frontend/Dockerfile17
1 files changed, 10 insertions, 7 deletions
diff --git a/frontend/Dockerfile b/frontend/Dockerfile
index 0f96ba3..9e1f988 100644
--- a/frontend/Dockerfile
+++ b/frontend/Dockerfile
@@ -17,14 +17,17 @@ ENV VITE_BACKEND_WS_URL ${BACKEND_WS_URL}
ARG FRONTEND_URL
ENV VITE_FRONTEND_BASE_URL ${FRONTEND_URL}
-
RUN npm run build
+# fuck nginx
+EXPOSE 4173
-FROM nginx:1.21.1-alpine
-
-COPY --from=build /app/dist /usr/share/nginx/html
-
-EXPOSE 80
+CMD ["npm", "run", "preview"]
-CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file
+# FROM nginx:1.21.1-alpine
+#
+# COPY --from=build /app/dist /usr/share/nginx/html
+#
+# EXPOSE 80
+#
+# CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file