mirror of
https://github.com/Retropex/apolloapi-v2.git
synced 2025-05-28 13:02:35 +02:00
Fix & build
This commit is contained in:
parent
b472756df8
commit
9b6a469bb5
@ -4,6 +4,7 @@ RUN npm --version
|
||||
RUN npm install yarn
|
||||
COPY ./package.json /app/package.json
|
||||
COPY ./yarn.lock /app/yarn.lock
|
||||
RUN rm -rf /app/package-lock.json
|
||||
ENV NODE_ENV=production
|
||||
RUN ./node_modules/.bin/yarn --production
|
||||
RUN rm ./*.json ./yarn.lock
|
||||
|
Binary file not shown.
@ -75,7 +75,7 @@ disksJson=$(for d in $(df -P -x tmpfs -x devtmpfs -x ecryptfs -x nfs -x cifs -T
|
||||
bfgminerLog=""
|
||||
if [ -e "/tmp/bfgminer.log" ]
|
||||
then
|
||||
bfgminerLog=`tail -10 /tmp/bfgminer.log | tr '\n' '|'`
|
||||
bfgminerLog=`sudo tail -10 /tmp/bfgminer.log | tr '\n' '|'`
|
||||
fi
|
||||
|
||||
# Processes
|
||||
|
Loading…
Reference in New Issue
Block a user