added Dockerfile & Github actions flow

This commit is contained in:
Affan Haq 2020-08-20 13:23:45 -04:00
parent c3da37c0b0
commit a78ca18661
2 changed files with 26 additions and 0 deletions

11
Dockerfile Normal file
View file

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