diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..15357b1a446c38fb43532b2b08e7c3c81e6eefa4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM node:16-alpine +WORKDIR /app +COPY package*.json ./ +RUN npm install + +# copy project files and folders to the current working directory (i.e. 'app' folder) +COPY . . + +# build app for production with minification +# RUN npm run build + +RUN npm run lint +EXPOSE 8080 +CMD [ "npm", "run", "serve" ] \ No newline at end of file