aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/Dockerfile
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2023-11-07 20:53:06 +0000
committerLeonardo Bishop <me@leonardobishop.com>2023-11-07 20:53:06 +0000
commit75afbd9a6add8842ce2279f80fafb2cba5b25115 (patch)
treef315f6be628012597b1ebe50e41d087928984837 /frontend/Dockerfile
parent517ea6da7f53a09c45e559ff743fa8f2c96ad2b7 (diff)
update dockerfole2
Diffstat (limited to 'frontend/Dockerfile')
-rw-r--r--frontend/Dockerfile11
1 files changed, 3 insertions, 8 deletions
diff --git a/frontend/Dockerfile b/frontend/Dockerfile
index cca9af4..b12c280 100644
--- a/frontend/Dockerfile
+++ b/frontend/Dockerfile
@@ -8,18 +8,13 @@ RUN npm install
COPY . .
-ENV VITE_BACKEND_BASE_URL
-
-ENV VITE_BACKEND_WS_URL
-
-ENV VITE_FRONTEND_BASE_URL
+EXPOSE 4173
-# RUN npm run build
+CMD ["npm", "run", "preview-host"]
# fuck nginx
-EXPOSE 4173
-CMD ["npm", "run", "preview-host"]
+# RUN npm run build
# FROM nginx:1.21.1-alpine
#