gabcares commited on
Commit
3e44e80
·
verified ·
1 Parent(s): 0dda82f

Update Dockerfile

Browse files

Upgrade to Google Maps API

Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -4,8 +4,8 @@ FROM python:3.11.9-slim
4
  RUN --mount=type=secret,id=ORS_API_TOKEN,mode=0444,required=true
5
 
6
  # Read secrets and set environment variables
7
- RUN export ORS_API_TOKEN=$(cat /run/secrets/ORS_API_TOKEN) \
8
- && echo "ORS_API_TOKEN=$ORS_API_TOKEN" >> /etc/environment \
9
 
10
  # Source the environment file
11
  RUN . /etc/environment
 
4
  RUN --mount=type=secret,id=ORS_API_TOKEN,mode=0444,required=true
5
 
6
  # Read secrets and set environment variables
7
+ RUN export MAPS_API_KEY=$(cat /run/secrets/ORS_API_TOKEN) \
8
+ && echo "MAPS_API_KEY=$MAPS_API_KEY" >> /etc/environment \
9
 
10
  # Source the environment file
11
  RUN . /etc/environment