Commit c3743036 authored by Federico Gimenez's avatar Federico Gimenez Committed by Gavin Wood
Browse files

fix Dockerfile (#386)

parent 61c5f6f5
Pipeline #49747 passed with stages
in 16 minutes and 3 seconds
......@@ -27,11 +27,11 @@ RUN mv /usr/share/ca* /tmp && \
rm -rf /usr/share/* && \
mv /tmp/ca-certificates /usr/share/ && \
rm -rf /usr/lib/python* && \
rm -rf /usr/bin /usr/sbin && \
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
ln -s /polkadot/.local/share/polkadot /data && \
rm -rf /usr/bin /usr/sbin
USER polkadot
EXPOSE 30333 9933 9944
......
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