This repository has been archived on 2024-08-26. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/docs/Docker.md

17 lines
359 B
Markdown
Raw Normal View History

2022-11-17 17:10:00 -08:00
# Docker Docs
You should be able to manually configure the docker compose file base on your requirements.
2022-11-18 00:06:26 -08:00
## console
2022-11-18 00:06:26 -08:00
How to run with docker:
```bash
sudo docker-compose run php bin/console doctrine:migrations:migrate
2022-11-22 22:14:27 -08:00
```
where php is the name of the container in the docker-compose file.
## Build php container
```
docker build -t vendor/php:latest .
2022-11-18 00:06:26 -08:00
```