Created
February 20, 2020 22:50
-
-
Save JacerOmri/f9a967beb4953d08e18706aec425e76c to your computer and use it in GitHub Desktop.
Adonis simple API dockerfile
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:9-alpine | |
RUN apk update && apk add --no-cache bash git tzdata | |
ENV NODE_ENV="production" | |
COPY package.json ./ | |
RUN npm cache clean -f | |
RUN npm install | |
COPY . . | |
CMD [ "npm", "start" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment