Skip to content

Instantly share code, notes, and snippets.

@a5ync
Created February 5, 2020 06:57
Show Gist options
  • Save a5ync/e14d62d7c07e3001a5b7a7856c19a1ff to your computer and use it in GitHub Desktop.
Save a5ync/e14d62d7c07e3001a5b7a7856c19a1ff to your computer and use it in GitHub Desktop.
Szkola chmury docker node
FROM alpine
USER root
WORKDIR /home/app
ADD https://raw.githubusercontent.com/cloudstateu/containers-w3-homework/master/package.json /home/app/package.json
ADD https://raw.githubusercontent.com/cloudstateu/containers-w3-homework/master/index.js /home/app/index.js
RUN apk add --no-cache nodejs npm
RUN npm install
EXPOSE 8080
CMD ["node", "index.js"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment