Skip to content

Commit c6540af

Browse files
committed
updated readme
1 parent 529cdba commit c6540af

File tree

3 files changed

+839
-716
lines changed

3 files changed

+839
-716
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
### Authentication system boilerplate application using NextJS, GraphQL, MongoDB, and Nginx
44

5+
## There is a new version using Apollo Hooks on the client instead of Render props. [check it out]
6+
57
_You will need a .env file in the server directory with the following environment variables_
68

79
```
@@ -22,3 +24,5 @@ $ docker-compose up
2224
```
2325

2426
**NOTE: There is a production deployment pipeline setup with TravisCI, DockerHub, and Kubernetes that runs in a Minikube cluster. I can supply full instructions if needed to get you setup for the production deployment pipeline**
27+
28+
[check it out]: https://github.com/nreoch25/nextjs-graphql-hooks-auth

server/Dockerfile.dev

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM node:alpine
2-
RUN apk update && apk --no-cache add --virtual builds-deps build-base python
1+
FROM node:10.15-alpine
2+
RUN apk update && apk --no-cache add --virtual builds-deps build-base python tini
33
WORKDIR /app
4-
COPY ./package.json ./
5-
COPY yarn.lock ./
6-
RUN yarn install --frozen-lockfile
4+
COPY ./package.json yarn.lock ./
5+
RUN yarn install --frozen-lockfile && yarn cache clean --force
76
COPY . .
7+
ENTRYPOINT ["/sbin/tini", "--"]
88
CMD ["yarn", "dev"]

0 commit comments

Comments
 (0)