diff --git a/Dockerfile b/Dockerfile index fe5bbdc..37ef04d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,10 @@ RUN curl -s -o $BESU_HOME/lib/log4j2-ecs-layout-1.3.0.jar https://repo1.maven.or RUN sed -i 's|\(^CLASSPATH=.*$\)|\1:$APP_HOME/lib/log4j2-ecs-layout-1.3.0.jar:$APP_HOME/lib/ecs-logging-core-1.3.0.jar|g' $BESU_HOME/bin/besu COPY --chown=$UID:$GID log4j2.xml $BESU_HOME/ +# Create config directory +RUN mkdir -p /config && \ + chown $UID:$GID /config + # Add entrypoint for HPC COPY --chown=$UID:$GID entrypoint.sh /usr/local/bin/entrypoint.sh RUN chmod +x /usr/local/bin/entrypoint.sh