mirror of
https://github.com/ShaYmez/HBMonv2.git
synced 2024-11-19 14:51:48 -05:00
Update Dockerfile
Try fixing rust compiler
This commit is contained in:
parent
7c75872514
commit
0bdd4422af
@ -23,14 +23,15 @@ COPY entrypoint /entrypoint
|
|||||||
|
|
||||||
RUN adduser -D -u 54000 radio && \
|
RUN adduser -D -u 54000 radio && \
|
||||||
apk update && \
|
apk update && \
|
||||||
apk add git gcc musl-dev && \
|
apk add git gcc musl-dev curl && \
|
||||||
|
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
|
||||||
pip install --upgrade pip && \
|
pip install --upgrade pip && \
|
||||||
pip cache purge && \
|
pip cache purge && \
|
||||||
cd /opt && \
|
cd /opt && \
|
||||||
git clone https://github.com/shaymez/HBMonv2.git /hbmon && \
|
git clone https://github.com/shaymez/HBMonv2.git /hbmon && \
|
||||||
cd /hbmon && \
|
cd /hbmon && \
|
||||||
pip install --no-cache-dir -r requirements.txt && \
|
pip install --no-cache-dir -r requirements.txt && \
|
||||||
apk del git gcc musl-dev && \
|
apk del git gcc musl-dev curl && \
|
||||||
chown -R radio: /hbmon
|
chown -R radio: /hbmon
|
||||||
|
|
||||||
USER radio
|
USER radio
|
||||||
|
Loading…
Reference in New Issue
Block a user