Skip to content

Instantly share code, notes, and snippets.

@harshitanand
Created August 4, 2017 11:32
Show Gist options
  • Save harshitanand/b281afba0a211027b9b38ee0a0210319 to your computer and use it in GitHub Desktop.
Save harshitanand/b281afba0a211027b9b38ee0a0210319 to your computer and use it in GitHub Desktop.
Simple Dockerfile using alpine linux to create image
FROM alpine
RUN apk update && apk upgrade
RUN apk add nodejs
WORKDIR /app
ADD . /app
ENTRYPOINT [ "node", "server.js" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment