Skip to content

Commit 0e58942

Browse files
author
Tavahiura SANG
committed
Fix node 22 dockerfile
1 parent a64384e commit 0e58942

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

22/alpine/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \
109109
&& yarn --version \
110110
&& rm -rf /tmp/*
111111

112-
COPY ./22/alpine/docker-entrypoint.sh /usr/local/bin/
113-
ENTRYPOINT ["docker-entrypoint.sh"]
112+
COPY 22/alpine/docker-entrypoint.sh /usr/local/bin/
113+
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
114+
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
114115

115116
CMD [ "node" ]

22/debian/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ RUN set -ex \
8080
&& rm -rf /tmp/*
8181

8282
COPY 22/debian/docker-entrypoint.sh /usr/local/bin/
83-
ENTRYPOINT ["docker-entrypoint.sh"]
83+
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
84+
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
8485

8586
CMD [ "node" ]

0 commit comments

Comments
 (0)