We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9e40d2 commit 96f70c6Copy full SHA for 96f70c6
.github/workflows/pipeline.yml
@@ -90,7 +90,7 @@ jobs:
90
- name: Build and push
91
env:
92
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
93
- run: heroku container:push -a instaclone web
+ run: heroku container:push web -a instaclone --arg REACT_APP_SOCKET_URL=${{ secrets.REACT_APP_SOCKET_URL }}
94
- name: Release
95
96
Dockerfile
@@ -3,6 +3,10 @@
3
FROM node:20 as build-stage
4
WORKDIR /app
5
6
+ARG REACT_APP_SOCKET_URL
7
+
8
+ENV REACT_APP_SOCKET_URL=$REACT_APP_SOCKET_URL
9
10
# copying the all the frontend and backend code
11
COPY frontend ./frontend
12
COPY backend ./backend
0 commit comments