From 37bf56658eac2b5b154d3cc923c1b30e54868676 Mon Sep 17 00:00:00 2001 From: VIVEK SATI Date: Wed, 2 Aug 2023 16:20:51 +0530 Subject: [PATCH] feat: Dockeriszed the app --- .dockerignore | 6 ++++++ Dockerfile | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile 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