diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2023-11-04 22:00:11 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2023-11-04 22:00:11 +0000 |
| commit | 4deef4eea185981d028c5087f963b68bcc37de5e (patch) | |
| tree | ce4a8f80008bd5bdfaed918ec23d06a7ed192895 /frontend | |
| parent | 97b06b48749cab43dc710736c3623c6e780adc51 (diff) | |
kjhfdgklhs
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/Dockerfile | 17 |
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 |
