only init faro when env is production
This commit is contained in:
+7
-1
@@ -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;"]
|
||||
|
||||
Reference in New Issue
Block a user