Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

Questions about the tutorial #11

Description

@masish

I tried below tutorial.
https://docs.microsoft.com/en-us/azure/app-service/tutorial-custom-container?pivots=container-linux#code-try-16

when I tried working sample on locally, I encountered below error when executed command "docker run -it -p 8000:8000 appsvc-tutorial-custom-image"

image

However, tutorial is working without this command "python manage.py migrate".

I think that we don't need executing this command for this tutorial, so this execution not in the tutorial steps, right?
I understand "python manage.py migrate" is for preparing database tables for app.
If application use a database and need to execute the command, Should we define the execution of the command in the docker file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions