Browse Source

test

docker-build-test
Gonzalo Aune 4 years ago
parent
commit
0b6408ae47
  1. 7
      Dockerfile

7
Dockerfile

@ -2,11 +2,6 @@ FROM node:12-buster-slim AS builder
WORKDIR /relay
RUN mkdir /relay/.lnd
RUN touch /relay/connection_string.txt
RUN touch /relay/.lnd/sphinx.db
RUN chmod 777 /relay/connection_string.txt
RUN chmod 777 /relay/.lnd/sphinx.db
COPY --chown=1000:1000 . .
RUN apt-get update
@ -19,6 +14,8 @@ 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 chown -R 1000:1000 /relay
FROM node:12-buster-slim
USER 1000

Loading…
Cancel
Save