add rescanning
parent
fef75d3b4e
commit
6e0f915dd1
@ -1,29 +0,0 @@
|
||||
FROM node:16-alpine as build
|
||||
|
||||
ENV NETTYPE 0
|
||||
ENV SERVER_URL http://localhost
|
||||
ENV APP_NAME MyMonero-Self-Hosted
|
||||
|
||||
WORKDIR /srv/mymonero
|
||||
|
||||
COPY mymonero-web-js .
|
||||
|
||||
RUN adduser \
|
||||
-S \
|
||||
-s /bin/ash \
|
||||
-g 'mymonero' \
|
||||
-D \
|
||||
-h /srv/mymonero \
|
||||
mymonero
|
||||
RUN chown -R mymonero .
|
||||
USER mymonero
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
COPY mymonero-entrypoint.sh .
|
||||
RUN chmod +x entrypoint.sh
|
||||
RUN rm .env.defaults
|
||||
|
||||
EXPOSE 9110
|
||||
|
||||
CMD ["./entrypoint.sh"]
|
@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
env > .env.defaults
|
||||
|
||||
node server.js
|
Loading…
Reference in New Issue