diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..41d3e167e --- /dev/null +++ b/.dockerignore @@ -0,0 +1,6 @@ +node_modules +npm-debug.log* +build +.github +*.md +.gitignore \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..085093d12 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM node:14-alpine + +WORKDIR /Games-and-Go + +COPY ./package*.json /Games-and-Go + +RUN npm install + +COPY . /Games-and-Go + +CMD ["npm","start"] \ No newline at end of file