diff --git a/Dockerfile b/Dockerfile index 783f37b..8a63c38 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,17 @@ -FROM node:lts-alpine3.10 +FROM docker.io/library/node:lts-alpine WORKDIR /usr/src/app +ENV \ + NODE_ENV=production \ + PORT=3000 \ + HOST=0.0.0.0 + +CMD [ "npm", "start" ] + COPY package*.json ./ RUN npm i --only=production # Bundle app source COPY . . - -ENV NODE_ENV=production -ENV PORT=3000 - -EXPOSE 3000 -CMD [ "npm", "start" ] diff --git a/package.json b/package.json index 85a895f..b312ecf 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,10 @@ { "name": "netlify-cms-github-oauth-provider", - "version": "1.0.0", "engines": { "node": ">=7.x" }, "description": "netlify oauth github client sending token in form as netlify service itself", - "repository": "https://github.com/vencax/netlify-cms-github-oauth-provider", + "repository": "https://github.com/appuio/netlify-cms-github-oauth-provider", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1",