is there anyone who has experience with setting up...
# orm-help
r
is there anyone who has experience with setting up a dockerized graphql yoga server on Digital Ocean? Would be interested in an example Dockerfile/ general tips
➕ 1
l
I have with AWS’s EC2
I can share dockerfile if you want
r
that would be great!
+ Dockerfile which I will paste here
Copy code
FROM node:8.11-alpine

RUN apk update

ENV NODE_ENV production
ENV PORT 4000

EXPOSE 4000

# set working directory
WORKDIR /usr/src/node-app

# copy pkg configs and caches
COPY package.json package.json

# install prisma and graphql globally
RUN npm i -g prisma
RUN npm i -g graphql-cli

# install packages
RUN npm install

COPY . .
r
thank you very much!
l
👍