Created
May 11, 2018 22:07
-
-
Save noqcks/5454c342aff9a6b64c0a836a0ee51d71 to your computer and use it in GitHub Desktop.
Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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