ricardobalk / ricardobalk.nl

My personal website, made with Nuxt 3 (Vue 3), TypeScript & TailwindCSS
https://ricardobalk.nl
ISC License
0 stars 0 forks source link

Better Docker instructions #22

Closed ricardobalk closed 4 years ago

ricardobalk commented 4 years ago

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%

ricardobalk commented 4 years ago

Fixed in db6d6ad. New guides added as well. Also solves related issue #50.