{"id":16360861,"url":"https://github.com/keopx/docker-frontend","last_synced_at":"2026-04-09T01:32:20.889Z","repository":{"id":77085375,"uuid":"168390426","full_name":"keopx/docker-frontend","owner":"keopx","description":"Docker image to run NPM, webpack, yarn, gulp, yekyll and more front tools https://hub.docker.com/r/keopx/frontend/","archived":false,"fork":false,"pushed_at":"2020-12-11T16:03:29.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-07T22:45:46.577Z","etag":null,"topics":["gulp","hologram","nodejs","npm","webpack","yarn","yekyll"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keopx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-30T18:09:13.000Z","updated_at":"2023-10-11T10:46:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"c9f684bb-a05c-4e6f-b695-178ea7b78412","html_url":"https://github.com/keopx/docker-frontend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/keopx/docker-frontend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keopx%2Fdocker-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keopx%2Fdocker-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keopx%2Fdocker-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keopx%2Fdocker-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keopx","download_url":"https://codeload.github.com/keopx/docker-frontend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keopx%2Fdocker-frontend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31581864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gulp","hologram","nodejs","npm","webpack","yarn","yekyll"],"created_at":"2024-10-11T02:12:26.902Z","updated_at":"2026-04-09T01:32:20.862Z","avatar_url":"https://github.com/keopx.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Para su configuración montamos el mismo volumen que para el servidor web y en el attributo working_dir ponemos el directorio donde tengamos nuestros ficheros.\n\nEsta receta de docker crea en el _container_ un usuario con el mismo nombre y uid que el usuario local de nuestro equipo que está lanzando docker.\n\nDe esta forma, evitamos trabajar como _root_, con lo que los ficheros creados por docker serán propiedad de nuestro usuario local.\n\n### Preparación del entorno (si ya se tiene instalado omitir)\n\n* Instalar Docker  (https://docs.docker.com/engine/installation/) hay que ejecutar docker con nuestro usuario local para ello hay que asignar nuestro usuario al grupo \"docker\" para poder ejecutar docker sin sudo\n```sh\nsudo groupadd docker\nsudo usermod -aG docker `whoami`\n```\n* Instalar docker-compose (https://docs.docker.com/compose/install/)\n\n### Inicio\n~~Para que funcione, hay que definir un par de variables (mediante docker-set-enviroment.sh) antes de hacer el build de la imagen.~~\n\nVamos a usaer el usuario creado por defecto para tal proposito, el usuario _keopx_ tiene el userId 1000, el mismo que el del usuario de nuestro equipo.\n\n```sh\n~~$ source docker-set-enviroment.sh~~\n$ docker-compose build\n$ docker-compose up\n$ docker exec -it {nombre_contenedor} bundle install\n$ docker exec -it {nombre_contenedor} npm install\n```\n\nUna vez hecho el build, podemos ejecutar gulp (o cualquier task):\n\n```sh\n$ docker exec -it {nombre_contenedor} yarn\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeopx%2Fdocker-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeopx%2Fdocker-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeopx%2Fdocker-frontend/lists"}