issues
search
Project-Stage-Academy
/
UA-1131_Forum-PS
0
stars
0
forks
source link
Set Up Docker
#26
Closed
mehalyna
closed
8 months ago
mehalyna
commented
8 months ago
1. Set Up Docker
Task
: Create a
Dockerfile
and a
docker-compose.yml
file.
Dockerfile
contains instructions to build the Docker image.
docker-compose.yml
defines services, networks, and volumes for your application.
Output
: Docker configuration files.
2. Dockerize the Django Application
Task
: Define the Django app and database service in the
docker-compose.yml
.
Output
: A fully Dockerized Django application.
1. Set Up Docker
Dockerfile
and adocker-compose.yml
file.Dockerfile
contains instructions to build the Docker image.docker-compose.yml
defines services, networks, and volumes for your application.2. Dockerize the Django Application
docker-compose.yml
.