|
|
@ -4,8 +4,6 @@ WORKDIR /relay |
|
|
|
RUN mkdir /relay/.lnd |
|
|
|
RUN touch /relay/connection_string.txt |
|
|
|
RUN chmod 777 /relay/connection_string.txt |
|
|
|
RUN cp /relay/config/app.json /relay/dist/config/app.json |
|
|
|
RUN cp /relay/config/config.json /relay/dist/config/config.json |
|
|
|
COPY . . |
|
|
|
|
|
|
|
RUN apt-get update |
|
|
@ -16,6 +14,12 @@ RUN apt install -y g++ gcc libmcrypt-dev |
|
|
|
RUN npm install bcrypt |
|
|
|
RUN npm install |
|
|
|
|
|
|
|
RUN cp /relay/config/app.json /relay/dist/config/app.json |
|
|
|
RUN cp /relay/config/config.json /relay/dist/config/config.json |
|
|
|
|
|
|
|
RUN touch /relay/.lnd/sphinx.db |
|
|
|
RUN chmod 777 -R /relay/.lnd |
|
|
|
|
|
|
|
FROM node:12-buster-slim |
|
|
|
|
|
|
|
USER 1000 |
|
|
|