Skip to content

Commit 92693a6

Browse files
committed
feat: Update docker file
1 parent 2b14781 commit 92693a6

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Dockerfile.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ RUN apk update \
2222
&& update-ca-certificates
2323

2424
ADD bin/ARG_OS-ARG_ARCH/ARG_SRC_BIN /ARG_BIN
25+
COPY scripts/docker-entrypoint.sh /usr/local/bin/
2526

2627
EXPOSE 5000
2728

2829
USER nobody:nobody
29-
ENTRYPOINT ["/ARG_BIN"]
30+
ENTRYPOINT ["docker-entrypoint.sh"]
31+
CMD ["/ARG_BIN"]

scripts/docker-entrypoint.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
3+
echo Your container args are: "$@"
4+
5+
exec "$@"
6+

0 commit comments

Comments
 (0)