Skip to content

Commit 9c7b886

Browse files
committed
Switch EntryPOint to exec form
1 parent d8abbde commit 9c7b886

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,5 @@ COPY --from=BUILD /app/$MODULE/bin/ /app/
3131
RUN ls
3232
RUN chmod a+x *
3333

34-
ENV DEVNS_MODULE $MODULE
35-
ENV DEVNS_VERSION $VERSION
36-
ENTRYPOINT /app/$DEVNS_MODULE-amd64-linux-$DEVNS_VERSION
34+
RUN mv $MODULE-amd64-linux-$VERSION entrypoint
35+
ENTRYPOINT ["/app/entrypoint"]

0 commit comments

Comments
 (0)