Skip to content

Commit

Permalink
feat(build): create RUNTIME_DIR at container image
Browse files Browse the repository at this point in the history
  • Loading branch information
endersonmaia committed Mar 15, 2024
1 parent 144311e commit d7166ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ COPY --from=go-builder ${GO_BUILD_PATH}/cartesi-rollups-node /usr/bin
# Setup runtime dir.
ARG RUNTIME_DIR=/usr/share/rollups-node
WORKDIR ${RUNTIME_DIR}
RUN chown cartesi:cartesi ${RUNTIME_DIR}
RUN mkdir -p ${RUNTIME_DIR} && chown cartesi:cartesi ${RUNTIME_DIR}

# Set user to low-privilege.
USER cartesi
Expand Down

0 comments on commit d7166ce

Please sign in to comment.