Skip to content
Permalink
Browse files

add devp2p to compose

  • Loading branch information...
naviat committed Jun 19, 2019
1 parent 084f3e7 commit de727eeb3cf0af7fee0993ce811e6ae3024affb2
Showing with 6 additions and 10 deletions.
  1. +1 −7 Dockerfile
  2. +3 −0 docker-compose.yml
  3. +2 −3 package.json
@@ -4,10 +4,4 @@ WORKDIR /app
COPY package*.json /app/
RUN npm install
COPY ./ /app/
RUN npm run build

# Stage 1, based on Nginx, to have only the compiled app, ready for production with Nginx
FROM nginx:1.15
COPY --from=build-stage /app/build/ /usr/share/nginx/html
# Copy the default nginx.conf
COPY --from=build-stage /nginx.conf /etc/nginx/conf.d/default.conf
RUN npm start
@@ -23,4 +23,7 @@ services:
dockerfile: Dockerfile
ports:
- "80:80"
depends_on:
- "pg"
- "metabase"

@@ -42,9 +42,8 @@
"eslint-plugin-standard": "^4.0.0"
},
"scripts": {
"start": "INFURA_ID=09bcdf3656ee4a80b05a4a921358d109 node index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"debug": "DEBUG=devp2p:rplx:*,devp2p:dlt*,infura:* INFURA_ID=09bcdf3656ee4a80b05a4a921358d109 node --inspect index.js"
"start": "node index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": {
"name": "E.G. Galano",

0 comments on commit de727ee

Please sign in to comment.
You can’t perform that action at this time.