Skip to content

Instantly share code, notes, and snippets.

@noqcks
Created May 11, 2018 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noqcks/5454c342aff9a6b64c0a836a0ee51d71 to your computer and use it in GitHub Desktop.
Save noqcks/5454c342aff9a6b64c0a836a0ee51d71 to your computer and use it in GitHub Desktop.
Dockerfile
FROM node:9-alpine
# node-sass requirements...
RUN apk --no-cache add --virtual native-deps g++ gcc libgcc libstdc++ \
linux-headers make python && \
apk del native-deps
WORKDIR /usr/src/app
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
# entrypoint.sh
# #!/bin/sh
# set -eo pipefail
# yarn
# yarn start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment