Answer the question
In order to leave comments, you need to log in
Why is port 3000 not opening - docker run --name node-con -it -p 3000:8080 avgona/node?
Why doesn't my server start on port 3000?
FROM alpine
VOLUME /home/server
WORKDIR /home/server
COPY ./ /home/server/
EXPOSE 8080
RUN apk add npm && npm i -g http-server
CMD http-server
docker build -t avgona/node .
docker run --name node-con -it -p 3000:8080 avgona/node
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question