Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgermano authored Dec 9, 2019
1 parent 026893a commit 6374e59
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,12 @@ docker container run --rm -it --network host -v $(pwd):/app arthurgermano/nodevu
THEN
Inside the container you have access to your present work directory just run your commands!

# OBS: set with PRIVOXY
# adding proxy
RUN export http_proxy=http://localhost:8118

# Configuring node proxy and repository
RUN npm config set proxy http://localhost:8118 && npm config set https-proxy http://localhost:8118
# Configuring repository
RUN npm config set registry http://registry.npmjs.org

If you're not using privoxy then you have to execute this lines above to your proxy!

TO BUILD
docker build --progress plain --build-arg http_proxy=http://localhost:8118 --network host --tag nodevue .
docker build --progress plain --network host --tag nodevue .

Obs: Execute this command where Dockerfile is!

0 comments on commit 6374e59

Please sign in to comment.