aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/Dockerfile
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2023-11-08 21:12:04 +0000
committerLeonardo Bishop <me@leonardobishop.com>2023-11-08 21:12:04 +0000
commit28f705fc4aa2f3c62e7fe7d95557494bedcb8d1c (patch)
tree71553afeab22cef4b3a36aee2ea24728a1d17ec1 /frontend/Dockerfile
parent75afbd9a6add8842ce2279f80fafb2cba5b25115 (diff)
remove freeze tick on drop
Diffstat (limited to 'frontend/Dockerfile')
-rw-r--r--frontend/Dockerfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/frontend/Dockerfile b/frontend/Dockerfile
index b12c280..90aa9fd 100644
--- a/frontend/Dockerfile
+++ b/frontend/Dockerfile
@@ -10,12 +10,11 @@ COPY . .
EXPOSE 4173
+RUN npm run build
+
CMD ["npm", "run", "preview-host"]
# fuck nginx
-
-# RUN npm run build
-
# FROM nginx:1.21.1-alpine
#
# COPY --from=build /app/dist /usr/share/nginx/html