Skip to content

Commit 0cc387d

Browse files
committed
Executable healthcheck
1 parent 55e84b2 commit 0cc387d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ ARG BUILD_TIME
1717
ENV GIT_SHA=${GIT_SHA}
1818
ENV BUILD_TIME=${BUILD_TIME}
1919
RUN \
20-
addgroup --system gleam_packages && \
21-
adduser --system gleam_packages -g gleam_packages
20+
chmod +x /app/healthcheck.sh \
21+
&& addgroup --system gleam_packages \
22+
&& adduser --system gleam_packages -g gleam_packages
2223
COPY --from=build /app/build/erlang-shipment /app
2324
COPY healthcheck.sh /app/healthcheck.sh
2425
VOLUME /app/data

0 commit comments

Comments
 (0)