Web based app need to docker so that l can run it locally to any pc

Hello guys I’m trying to run or to create an image using docker so I have been trying to debug it to a point that now it’s allowing me to to run it to create an image to run it right but the only problem is I was creating the web based application which consist of Python JavaScript and uh CSS for the application it’s more like a Netflix but taking videos using GET .

THE PROBLEM IS THE DOC IMAGE IS ONLY creating for html index only

# BusFlix Dockerfile
FROM python:3.10-slim

# Set working directory
WORKDIR /app

# Copy all project files
COPY . /app

# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt

# Expose the port BusFlix runs on
EXPOSE 5003

# Run the backend server
CMD ["python", "backend/app.py"]

I fixed your comment, but next time, please use code blocks.

Regarding the issue, it seems you have a problem with loading the files in th webbrowser. The browser’s developer console should show you what is missing and you can check whether the files are there as you would on a server without Docker. You can use docker exec to start a shell in the container to look around.

Thank you for responding to my message i will show you my web based application.let me try what you said