diff --git a/contrib/docker/Dockerfile b/contrib/docker/Dockerfile index dc9f5501..ea6bee67 100644 --- a/contrib/docker/Dockerfile +++ b/contrib/docker/Dockerfile @@ -44,12 +44,12 @@ RUN apk --no-cache --virtual build-dependendencies add make gcc g++ libtool zlib # 2. Adding required libraries to run i2pd to ensure it will run. RUN apk --no-cache add boost-filesystem boost-system boost-program_options boost-date_time boost-thread boost-iostreams openssl miniupnpc musl-utils libstdc++ -COPY entrypoint.sh /entrypoint.sh -RUN chmod a+x /entrypoint.sh +COPY entrypoint.sh /opt/entrypoint.sh +RUN chmod a+x /opt/entrypoint.sh RUN echo "export DATA_DIR=${DATA_DIR}" >> /etc/profile VOLUME "$DATA_DIR" EXPOSE 7070 4444 4447 7656 2827 7654 7650 USER i2pd -ENTRYPOINT [ "/entrypoint.sh" ] +ENTRYPOINT [ "/opt/entrypoint.sh" ]