mirror of
https://github.com/Retropex/apolloapi-v2.git
synced 2025-06-02 23:42:30 +02:00
Fix & build
This commit is contained in:
parent
b472756df8
commit
9b6a469bb5
@ -4,6 +4,7 @@ RUN npm --version
|
|||||||
RUN npm install yarn
|
RUN npm install yarn
|
||||||
COPY ./package.json /app/package.json
|
COPY ./package.json /app/package.json
|
||||||
COPY ./yarn.lock /app/yarn.lock
|
COPY ./yarn.lock /app/yarn.lock
|
||||||
|
RUN rm -rf /app/package-lock.json
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
RUN ./node_modules/.bin/yarn --production
|
RUN ./node_modules/.bin/yarn --production
|
||||||
RUN rm ./*.json ./yarn.lock
|
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=""
|
bfgminerLog=""
|
||||||
if [ -e "/tmp/bfgminer.log" ]
|
if [ -e "/tmp/bfgminer.log" ]
|
||||||
then
|
then
|
||||||
bfgminerLog=`tail -10 /tmp/bfgminer.log | tr '\n' '|'`
|
bfgminerLog=`sudo tail -10 /tmp/bfgminer.log | tr '\n' '|'`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Processes
|
# Processes
|
||||||
|
Loading…
Reference in New Issue
Block a user