feat: add environment variables for Firebase configuration in Dockerfile
This commit is contained in:
parent
d1a08d055a
commit
e5af3b8c51
10
Dockerfile
10
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;"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user