Unverified Commit 4a8eeeac authored by Witt Huo's avatar Witt Huo Committed by GitHub
Browse files

repair Dockerfile /data path (#2231)

parent 75307537
Pipeline #119599 passed with stages
in 22 minutes and 15 seconds
......@@ -16,9 +16,10 @@ ARG PROFILE=release
COPY --from=builder /polkadot/target/$PROFILE/polkadot /usr/local/bin
RUN useradd -m -u 1000 -U -s /bin/sh -d /polkadot polkadot && \
mkdir -p /polkadot/.local/share/polkadot && \
chown -R polkadot:polkadot /polkadot/.local && \
ln -s /polkadot/.local/share/polkadot /data && \
mkdir -p /polkadot/.local/share && \
mkdir /data && \
chown -R polkadot:polkadot /data && \
ln -s /data /polkadot/.local/share/polkadot && \
rm -rf /usr/bin /usr/sbin
USER polkadot
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment