We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1866e56 commit 2b83501Copy full SHA for 2b83501
1 file changed
Dockerfile
@@ -15,10 +15,6 @@ ENV DOCKER_USER=rtbot
15
ENV ACTION_WORKDIR=/home/$DOCKER_USER
16
ENV DEBIAN_FRONTEND=noninteractive
17
18
-COPY entrypoint.sh main.sh /usr/local/bin/
19
-
20
-RUN chmod +x /usr/local/bin/entrypoint.sh /usr/local/bin/main.sh
21
22
RUN useradd -m -s /bin/bash $DOCKER_USER \
23
&& mkdir -p $ACTION_WORKDIR \
24
&& chown -R $DOCKER_USER $ACTION_WORKDIR
@@ -61,6 +57,10 @@ RUN set -ex \
61
57
&& php -v \
62
58
&& vault -v;
63
59
60
+COPY entrypoint.sh main.sh /usr/local/bin/
+
+RUN chmod +x /usr/local/bin/entrypoint.sh /usr/local/bin/main.sh
64
USER $DOCKER_USER
65
66
WORKDIR $ACTION_WORKDIR
0 commit comments