{"id":13809795,"url":"https://github.com/adityadees/sveltekit-js-docker","last_synced_at":"2026-03-01T09:32:08.339Z","repository":{"id":216960062,"uuid":"619931144","full_name":"adityadees/sveltekit-js-docker","owner":"adityadees","description":"skelton dockerized sveltekit JS HMR dev and build multi adapter for node server and static build SSG","archived":false,"fork":false,"pushed_at":"2023-03-27T18:33:03.000Z","size":39,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T08:47:43.980Z","etag":null,"topics":["development","docker","docker-compose","dockerized","hmr","javascript","js","production","svelte","sveltekit","vite"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adityadees.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-03-27T17:39:55.000Z","updated_at":"2024-08-02T15:49:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"50d07224-1d78-43b4-8564-d4c2c7844e72","html_url":"https://github.com/adityadees/sveltekit-js-docker","commit_stats":null,"previous_names":["adityadees/sveltekit-js-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adityadees/sveltekit-js-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityadees%2Fsveltekit-js-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityadees%2Fsveltekit-js-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityadees%2Fsveltekit-js-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityadees%2Fsveltekit-js-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adityadees","download_url":"https://codeload.github.com/adityadees/sveltekit-js-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adityadees%2Fsveltekit-js-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29965589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T06:55:38.174Z","status":"ssl_error","status_checked_at":"2026-03-01T06:53:04.810Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["development","docker","docker-compose","dockerized","hmr","javascript","js","production","svelte","sveltekit","vite"],"created_at":"2024-08-04T02:00:36.229Z","updated_at":"2026-03-01T09:32:08.312Z","avatar_url":"https://github.com/adityadees.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\n\n\n## Docker\n\nThis skelton Docker Development and Production for SvelteKit using `Javascript` if you prefer using `Typescipt` you can check this repo\n[sveltekit-ts-docker](https://github.com/adityadees/sveltekit-ts-docker)\n\n### Docker Dev and Prod\n- If you run docker dev, this action same like `npm run dev`\n- If you run docker prod, this action same like `npm run build`\n- for production build will have two image and container (static and node)\n\n  - If you don't have an image run this first\n  - this will build a docker image\n    - for development mode\n      ```make\n      make build \n      ```\n    - for deployment production mode\n      ```make\n      make build-prod\n      ```\n\n  - (if you already have an image run this or you can just run this if you don't have image, this will automate pull an image depedency)\n  - this will run the container\n    - for development mode\n      ```make\n      make up \n      ```\n    - for deployment production mode\n      ```make\n      make up-prod\n      ```\n\n  - run this if you want to stop the container\n    - for development mode\n      ```make\n      make stop\n      ```\n    - for deployment production mode\n      ```make\n      make stop-prod\n      ```\n\n  - run this if you want to delete the container\n    - for development mode\n      ```make\n      make down\n      ```\n    - for deployment production mode\n      ```make\n      make down-prod\n      ```\n\n### note\n\nmake sure you know about the port\n\nrules : example `5001:5173`\n\nLeft is your port\n\nRight is port inside docker\n\nFor docker port I used default port\n\n```\n5173 : default vite port\n80 : default nginx port\n3000 : default node port\n```\n\nyou can config port for yourself\n\nexample :\nif you want to change vite port \nyou can change this line `\"dev\": \"vite dev --host\"` inside  `package.json` to `\"dev\": \"vite dev --host 0.0.0.0 --port 5005\"` and don't forget to change others `5173` to `5005`\n\n\n------------\n\n\n# create-svelte\n\nEverything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).\n\n## Creating a project\n\nIf you're seeing this, you've probably already done this step. Congrats!\n\n```bash\n# create a new project in the current directory\nnpm create svelte@latest\n\n# create a new project in my-app\nnpm create svelte@latest my-app\n```\n\n## Developing\n\nOnce you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:\n\n```bash\nnpm run dev\n\n# or start the server and open the app in a new browser tab\nnpm run dev -- --open\n```\n\n## Building\n\nTo create a production version of your app:\n\n```bash\nnpm run build\n```\n\nYou can preview the production build with `npm run preview`.\n\n\u003e To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityadees%2Fsveltekit-js-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadityadees%2Fsveltekit-js-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadityadees%2Fsveltekit-js-docker/lists"}