Dockerize postgraphile

This commit is contained in:
Taka Goto
2019-02-11 11:27:27 +01:00
committed by Edvard
parent e6e66d58dd
commit 85cec480dc
7 changed files with 71 additions and 28 deletions
+9
View File
@@ -0,0 +1,9 @@
FROM mhart/alpine-node:10
RUN apk --update --no-cache add make g++ python findutils postgresql-dev
WORKDIR /app
COPY . /app
run yarn install
RUN ["./node_modules/typescript/bin/tsc"]
EXPOSE 3000
CMD ["node", "/app/build/dist/src/index.js"]