diff --git a/Dockerfile b/Dockerfile index a99ff75..797bd59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,4 +11,14 @@ FROM nginx:alpine COPY --from=builder /app/dist /usr/share/nginx/html COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80 + +ENV VITE_API_BASE_URL=https://api.example.com +ENV VITE_FIREBASE_API_KEY=firebase-api +ENV VITE_FIREBASE_AUTH_DOMAIN=firebase-auth +ENV VITE_FIREBASE_PROJECT_ID=firebase-project +ENV VITE_FIREBASE_STORAGE_BUCKET=firebase-storage +ENV VITE_FIREBASE_MESSAGING_SENDER_ID=firebase-messaging +ENV VITE_FIREBASE_APP_ID=firebase-app +ENV VITE_FIREBASE_MEASUREMENT_ID=firebase-measurement + CMD ["nginx", "-g", "daemon off;"]