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 cbe1263 commit f89e8aeCopy full SHA for f89e8ae
1 file changed
frontend/Dockerfile
@@ -12,10 +12,13 @@ COPY package.json package-lock.json ./
12
RUN npm ci || npm install
13
14
COPY . .
15
-# Hero flag is stored as base64 text in git (binary uploads are awkward via CI).
+# Hero flag is stored as base64 text in git (split parts for easier commits).
16
# Decode before `next build` so the file is part of the public/ standalone output.
17
RUN if [ -f public/images/american_flag.jpg.b64 ]; then \
18
base64 -d public/images/american_flag.jpg.b64 > public/images/american_flag.jpg; \
19
+ elif [ -f public/images/american_flag.jpg.b64.part1 ]; then \
20
+ cat public/images/american_flag.jpg.b64.part1 public/images/american_flag.jpg.b64.part2 \
21
+ | base64 -d > public/images/american_flag.jpg; \
22
fi
23
RUN npm run build
24
0 commit comments