Last active
June 4, 2019 03:45
-
-
Save victory1908/424d0d46fb897312081b66d79057e165 to your computer and use it in GitHub Desktop.
docker node-alpine #docker
This file contains 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:alpine | |
WORKDIR /usr/src/app | |
COPY package*.json ./ | |
RUN apk update && apk upgrade && apk --no-cache --virtual build-dependencies add python make g++ \ | |
&& npm install -g prisma && npm install \ | |
&& apk del build-dependencies | |
COPY . . | |
RUN chmod -R +x ./docker-scripts/ | |
ENTRYPOINT [ "./docker-scripts/entrypoint.sh" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment