mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
e7fba40fad
Added a boilerplate from [this original repository](https://github.com/platyplus/authentication-server) based on the discussions in [this issue](https://github.com/hasura/graphql-engine/issues/1420) and [this issue](https://github.com/hasura/graphql-engine/issues/1446). [skip ci]
8 lines
180 B
Docker
8 lines
180 B
Docker
FROM node:11-alpine
|
|
WORKDIR /root/app
|
|
COPY package.json .
|
|
RUN npm install --only=production
|
|
COPY . .
|
|
EXPOSE 8080
|
|
CMD npm start
|
|
#TODO: https://learnk8s.io/blog/smaller-docker-images |