Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker image allows --chain param + shell #1079

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions third-party/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ ENV RUST_BACKTRACE 1
# add user
RUN useradd -m -u 1000 -U -s /bin/sh -d /astar astar && \
mkdir /data && \
chown -R astar:astar /data && \
rm -rf /usr/bin /usr/sbin
chown -R astar:astar /data

ARG PROFILE=release
# add binary to docker image
Expand All @@ -34,4 +33,4 @@ RUN ["astar-collator", "--version"]
EXPOSE 30333 30334 9933 9944
VOLUME ["/data"]

CMD ["/usr/local/bin/astar-collator","-d","/data"]
ENTRYPOINT ["/usr/local/bin/astar-collator","-d","/data"]