Created
April 9, 2017 20:33
-
-
Save ulhas/01bcd95d0a04719bd1bd8007036e901b to your computer and use it in GitHub Desktop.
Docker file for SailsJS app
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:latest | |
RUN npm install -g sails grunt npm-check-updates | |
COPY ./package.json /package.json | |
RUN npm install | |
RUN npm install --save sails-postgresql@beta | |
COPY ./compose/sails/entrypoint.sh /entrypoint.sh | |
RUN sed -i 's/\r//' /entrypoint.sh | |
RUN chmod +x /entrypoint.sh | |
COPY ./compose/sails/start-dev.sh /start-dev.sh | |
RUN sed -i 's/\r//' /start-dev.sh | |
RUN chmod +x /start-dev.sh | |
WORKDIR /app | |
ENTRYPOINT ["/entrypoint.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment