diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..293dc02 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM node:alpine + +EXPOSE 3000 +WORKDIR /usr/local/gitlab-ci-demo +COPY package.json package-lock.json index.js data.json Procfile seed.js ./ +COPY src/ src/ +RUN npm install --production + +ENTRYPOINT ["npm", "start"] \ No newline at end of file