We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c00d0ac commit 81d9eceCopy full SHA for 81d9ece
.github/workflows/build_containers.yml
@@ -49,6 +49,7 @@ jobs:
49
set -ux
50
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
51
pushd frontend
52
+ echo "NEXT_PUBLIC_API_URL=http://k8s-wn-01.cam.uchc.edu:30001" > .env
53
docker build \
54
--no-cache \
55
--file Dockerfile \
frontend/Dockerfile
@@ -8,6 +8,9 @@ WORKDIR /app
8
COPY package.json package-lock.json* pnpm-lock.yaml* ./
9
RUN npm install
10
11
+# 4. Copy .env file
12
+COPY .env ./
13
+
14
# 5. Copy the rest of the app
15
COPY . .
16
0 commit comments