You can start the development server in a docker container by using the following command
docker compose -f docker-compose.dev.yml upThe dependencies will automaticly be installed on startup if they're not already. If you need to perform an operation inside the container you should use this command
docker compose -f docker-compose.dev.yml run --rm front $your_commandAll commands should be run from the docker container
| Command | Action |
|---|---|
pnpm install |
Installs dependencies |
pnpm run dev |
Starts local dev server at localhost:3000 |
pnpm run build |
Build your production site to ./dist/ |
pnpm run astro ... |
Run CLI commands like astro add, astro check |
pnpm run astro -- --help |
Get help using the Astro CLI |