Web project 2014, all list timeline, Seo application
# Create Image from `Dockerfile`
cd app-frontend
docker build -t anibalcopitan.com .
docker run -it --rm -p 3000:3000 -v "$PWD":/usr/app:rw anibalcopitan.com sh -c 'yarn install & yarn dev'
You needed debuger step to step the image Dockerfile or docker command
cd app-frontend
docker build -t anibalcopitan.com .
docker run -it --rm -p 3000:3000 -v "$PWD":/usr/app:rw anibalcopitan.com sh
# into bash
yarn install
yarn dev
# for production
yarn build
yarn generateExplain last command line docker (building the temporal container) (development mood)
-it=> Iteractive container--rm=> autoremove container to close iteractive docker console-p 3000:3000=> used and open container port-v "$PWD":/usr/app:rw=> indicate the volume (persistent data)anibalcopitan.com=> is the image namedsh -c 'yarn install & yarn dev'=> way to execute the bash command
Into container box
docker exec -i -t <dd28fae674bb> sh
# yarn dev
# yarn build
# yarn generate
# cp -r ./app-frontend/dist/* ./docs/.Now the project is available in the local URL: http://localhost:3000/
v1: simple integration
v2: Custom font and color black and white
v3: Marca personal simple the first view (desktop/mobile)
v5: portfolio and blog fullstack dev
mv .env.dist .env




