Skip to content

Commit e400e75

Browse files
feat: Add environment variable placeholders for Azure configuration in Dockerfiles
1 parent 8497b01 commit e400e75

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

backend/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,10 @@ RUN pip install --no-cache-dir --upgrade pip \
77
COPY . .
88
EXPOSE 8000
99
ENV PYTHONUNBUFFERED=1
10+
# Placeholder for environment variables
11+
ENV AZURE_TENANT_ID=azure_tenant_id_placeholder
12+
ENV AZURE_CLIENT_ID=azure_client_id_placeholder
13+
ENV AZURE_CLIENT_SECRET=azure_client_secret_placeholder
14+
ENV ARM_SCOPE=https://management.azure.com/.default
15+
ENV GEMINI_API_KEY=AIzaSyCrynmKSWttR1s73yg2scp6v1T_tDXTBxg
1016
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]

frontend/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,8 @@ WORKDIR /usr/share/nginx/html
1111
COPY --from=build /app/dist .
1212
EXPOSE 80
1313
RUN rm -rf /etc/nginx/conf.d/default.conf
14+
15+
# Placeholder for environment variables
16+
ENV VITE_AZURE_REDIRECT_URI=vite_azure_redirect_uri_placeholder
17+
1418
COPY nginx.conf /etc/nginx/conf.d

0 commit comments

Comments
 (0)