diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..5171c54 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +node_modules +npm-debug.log \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7066b28 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM node:argon +RUN mkdir -p /usr/src/app +WORKDIR /usr/src/app +COPY . /usr/src/app +RUN npm install +EXPOSE 8080 +CMD [ "npm", "start" ] \ No newline at end of file