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-18 01:10:00 +00:00
# Docker Docs
You should be able to manually configure the docker compose file base on your requirements.
2022-11-18 08:06:26 +00:00
## console
2022-11-18 08:06:26 +00:00
How to run with docker:
```bash
sudo docker-compose run php bin/console doctrine:migrations:migrate
2022-11-23 06:14:27 +00: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 08:06:26 +00:00
```