Last active
August 15, 2019 16:44
-
-
Save Robokishan/daa2dcf4319f04466b0dc530a73a77e9 to your computer and use it in GitHub Desktop.
Docker file for nodemon and fish pre installed so that easily access all linux flexibilty very easily
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:10 | |
WORKDIR /usr/src/app | |
RUN apt-get update && apt-get install -y fish | |
COPY package*.json ./ | |
COPY . . | |
RUN npm install | |
RUN npm install -g nodemon | |
EXPOSE 8080/tcp | |
CMD ["npm","start"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run following command as per requirement
in sequence
=> docker attach private-server
=> docker exec -it private-server fish