docker run won't work but docker compose work fine
i try to run fastapi application with docker i create this Dockerfile FROM python WORKDIR /code ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 COPY Pipfile Pipfile.lock /code/ RUN pip install pipenv && pipenv install --system COPY . /code/ CMD ["uvicorn", "blog.main:app"]…