File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11
22# FRONTEND
33APP_ENV=PRODUCTION
4- NEXT_PUBLIC_BACKEND_URL="https://robodrone.codersforcauses.com /api"
4+ NEXT_PUBLIC_BACKEND_URL="https://robodrone.codersforcauses.org /api"
55
66
77# BACKEND
@@ -19,4 +19,4 @@ DJANGO_SUPERUSER_PASSWORD= CHANGE THIS TO A RANDOM STRING
1919DJANGO_SUPERUSER_EMAIL= CHANGE THIS TO A VALID EMAIL
2020DJANGO_SUPERUSER_USERNAME= CHANGE THIS TO A VALID USERNAME
2121
22- FRONTEND_URL="https://robodrone.codersforcauses.com /"
22+ FRONTEND_URL="https://robodrone.codersforcauses.org /"
Original file line number Diff line number Diff line change 4141 cache-from : type=gha
4242 cache-to : type=gha,mode=max
4343 platforms : linux/amd64,linux/arm64
44+ build-args : |
45+ NEXT_PUBLIC_BACKEND_URL=https://robodrone.codersforcauses.org/api
4446
4547 - name : Output client image name
4648 if : github.event_name != 'pull_request'
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ COPY ./client/package.json ./client/package-lock.json ./
1111# Install ALL Dependencies
1212RUN npm install
1313
14+ # Accept build arg
15+ ARG NEXT_PUBLIC_BACKEND_URL
16+ ENV NEXT_PUBLIC_BACKEND_URL=$NEXT_PUBLIC_BACKEND_URL
17+
1418# Copy Application code into a directory called `app`
1519COPY ./client /app
1620
You can’t perform that action at this time.
0 commit comments