Войдите, чтобы сохранять прогресс 8:35
1-урок · Основы

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
Следующий урок закрыт
Досмотрите видео до конца

Настройки звука

Эквалайзер
Скорость
Таймер сна

Клавиатура: Пробел — пуск/пауза, ← → — 10 секунд, Shift+← → — трек, M — без звука

Очередь