aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/Dockerfile
diff options
context:
space:
mode:
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