only init faro when env is production

This commit is contained in:
2026-07-11 17:48:54 +02:00
parent 1a207185ff
commit 018bd6d87d
3 changed files with 19 additions and 4 deletions
+7 -1
View File
@@ -1,5 +1,11 @@
FROM nginx:alpine
# Set production environment
ENV VITE_APP_ENV=production
COPY ./dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]