I’ve been trying to setup docker service that returns react front end. The app works fine when its outside of the docker but fails to deliver the react app when its inside the docker. the Get method that returns json with ‘pong’ works fine trough. Im new to docker and docker images. Commands ive been using are these
Note ive added COPY ./src/client ./app command but im not sure if its correct.
any help or resource for writing images would be helpful since im planning to use containers alot in the future!
docker build . -t go-gin docker run -i -t -p 80:80 go-gin