create config dir

This commit is contained in:
Sofiane Gerhardt 2024-10-29 10:46:23 +01:00
parent 85a44d0618
commit 184a5c63b5

View file

@ -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