Skip to content

Commit

Permalink
Merge pull request #171 from kai-nguyen-aligent/feature/add-azure-folder
Browse files Browse the repository at this point in the history
Add .azure folder to entry point file
  • Loading branch information
jswift authored Aug 29, 2022
2 parents 6b080eb + 37bfbfa commit fceb153
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ hub as [aligent/serverless](https://hub.docker.com/r/aligent/serverless).

## Installation

Ensure you have a .npm directory for caching dependancies (`mkdir -p ~/.npm`)

Add the following lines to your `~/.bashrc` file to be able to run it easily...

```
alias node-run='docker run --rm -it --volume ~/.aws:/home/node/.aws --volume ~/.npm:/home/node/.npm --volume $PWD:/app aligent/serverless'
alias node-run='docker run --rm -it --volume ~/.aws:/home/node/.aws --volume ~/.azure:/home/node/.azure --volume ~/.npm:/home/node/.npm --volume "$PWD:/app" aligent/serverless'
alias serverless='node-run serverless'
```

Expand Down
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ chown -R node:node /home/node/.serverless
chown -R node:node /home/node/.serverlessrc
chown -R node:node /home/node/.aws
chown -R node:node /home/node/.npm
chown -R node:node /home/node/.azure

cd $APP_ROOT

Expand Down

0 comments on commit fceb153

Please sign in to comment.