diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2023-11-07 20:53:06 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2023-11-07 20:53:06 +0000 |
| commit | 75afbd9a6add8842ce2279f80fafb2cba5b25115 (patch) | |
| tree | f315f6be628012597b1ebe50e41d087928984837 /frontend | |
| parent | 517ea6da7f53a09c45e559ff743fa8f2c96ad2b7 (diff) | |
update dockerfole2
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/Dockerfile | 11 |
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 # |
