Skip to content

Commit 6ac287e

Browse files
authored
Merge pull request #212 from sofa5060/main
fix(docker): add missing PUB_DISABLE_FAILURE_BLOCKS to Dockerfile
2 parents 0cc13f6 + 5876753 commit 6ac287e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ARG PUB_VERTD_URL
99
ARG PUB_DISABLE_ALL_EXTERNAL_REQUESTS
1010
ARG PUB_DONATION_URL
1111
ARG PUB_STRIPE_KEY
12+
ARG PUB_DISABLE_FAILURE_BLOCKS=false
1213

1314
ENV PUB_ENV=${PUB_ENV}
1415
ENV PUB_HOSTNAME=${PUB_HOSTNAME}
@@ -17,6 +18,7 @@ ENV PUB_VERTD_URL=${PUB_VERTD_URL}
1718
ENV PUB_DISABLE_ALL_EXTERNAL_REQUESTS=${PUB_DISABLE_ALL_EXTERNAL_REQUESTS}
1819
ENV PUB_DONATION_URL=${PUB_DONATION_URL}
1920
ENV PUB_STRIPE_KEY=${PUB_STRIPE_KEY}
21+
ENV PUB_DISABLE_FAILURE_BLOCKS=${PUB_DISABLE_FAILURE_BLOCKS}
2022

2123
COPY package.json ./
2224

@@ -39,4 +41,4 @@ COPY ./nginx/default.conf /etc/nginx/conf.d/default.conf
3941
COPY --from=builder /app/build /usr/share/nginx/html
4042

4143
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
42-
CMD curl --fail --silent --output /dev/null http://localhost || exit 1
44+
CMD curl --fail --silent --output /dev/null http://localhost || exit 1

0 commit comments

Comments
 (0)