Fix "ModuleNotFoundError: No module named 'db'" bug when running docker-compose up

This commit is contained in:
thaiminhpv 2023-04-09 18:27:15 +07:00
parent 81d436c2f6
commit 517580cc24
No known key found for this signature in database
GPG Key ID: C7641447CFBA7283

View File

@ -7,6 +7,7 @@ RUN python3 -m venv venv && . venv/bin/activate
RUN python3 -m pip install --no-cache-dir -r requirements.txt --upgrade pip
COPY ./app.py /srv/app.py
#COPY ./db.py /srv/db.py
COPY ./static /srv/static
COPY ./templates /srv/templates