aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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