init dockerfile

This commit is contained in:
qiaofeng1227 2023-09-15 10:21:25 +08:00
parent a601f65253
commit 50f251fae3

View File

@ -10,5 +10,6 @@ RUN cd / && git clone --depth=1 https://github.com/Websoft9/docker-library.git \
&& mv docker-library library
COPY --from=build-hook /hook /usr/local/bin/hook
COPY init.sh /usr/local/bin/init.sh
COPY hook init /etc/s6/
COPY ./hook /etc/s6/hook
COPY ./init /etc/s6/init
RUN chmod -R 755 /etc/s6/hook /usr/local/bin/init.sh