diff --git a/bob_party/Dockerfile b/bob_party/Dockerfile new file mode 100644 index 0000000..3752807 --- /dev/null +++ b/bob_party/Dockerfile @@ -0,0 +1,19 @@ +FROM node:latest + +# Create app directory +WORKDIR /bob_party + +# Install app dependencies +# A wildcard is used to ensure both package.json AND package-lock.json are copied +# where available (npm@5+) +COPY package*.json ./ + +RUN npm install +# If you are building your code for production +# RUN npm ci --only=production + +# Bundle app source +COPY bob_party . + +EXPOSE 8080 +CMD [ "node", "server.js" ] \ No newline at end of file