Sign in to save your progress 8:35
1-lesson · Fundamentals

What is Docker and why?

Lesson 1: What is Docker and why?

Lesson plan

In this lesson we cover: what is docker and why?.

Code

FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["gunicorn", "config.wsgi", "-b", "0.0.0.0:8000"]

Commands

docker build -t myapp .
docker run -p 8000:8000 myapp
Next lesson is locked
Watch the video to the end

Sound settings

Equalizer
Speed
Sleep timer

Keyboard: Space — play/pause, ← → — 10 seconds, Shift+← → — track, M — mute

Queue