Add Dockerfile and docker-compose.yml

This commit is contained in:
David Birks
2020-08-19 00:23:04 -04:00
parent 2d69b3087f
commit d15d23539e
3 changed files with 46 additions and 1 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM node:12.18-alpine
COPY . /app
WORKDIR /app
RUN npm install \
&& npm run build-postgresql-client \
&& npm run build
EXPOSE 3000
CMD ["npm", "start"]