I want to ditch docker-compose and create a bash script + Dockerfile instead. Documentation needs to be updated accordingly.
Why? docker-compose is meant for building multiple Dockerfiles and running them as services, while I'm currently using it for the mounts. Probably something with --mount type=bind,src={SRC_FOLDER},target=/src would work as well. {SRC_FOLDER} also needs to have an absolute path afaik, so there's some stuff to be tried first.
I want to ditch
docker-compose
and create a bash script + Dockerfile instead. Documentation needs to be updated accordingly.Why?
docker-compose
is meant for building multiple Dockerfiles and running them as services, while I'm currently using it for the mounts. Probably something with--mount type=bind,src={SRC_FOLDER},target=/src
would work as well.{SRC_FOLDER}
also needs to have an absolute path afaik, so there's some stuff to be tried first.This doc could help: https://nodejs.org/en/docs/guides/nodejs-docker-webapp/
Time required: 1 hour +/- 75%