Marcos Henrique da Silva
1 min readSep 11, 2019

--

Great article!

I got struggled a bit then I went to double check and found a typo error on your Dockerfile

COPY — from=node /app/dist/ng-docker-example /usr/share/ngnix/html

should be

COPY --from=node /app/dist /usr/share/nginx/html

Besides that, to run also I needed to change a port from 5801 to 80

docker run -d -p 5801:80 ng-docker-example:latest

but at the same time I was working with my angular project, not yours so I am not sure if there is any difference between it.

Thanks again, it was very nice to make my app working on Docker and thanks to your article it started to work!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response