a year ago
I deployed Python code successfully, but when I tried to access it, I could not, so I got the log "container event container died."
This is my docker:
FROM python:3.10
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "the_app/apps.py"]3 Replies
a year ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • over 1 year ago
a year ago
You are likely running into resource limits on the trial plan, please upgrade to a paid plan.
a year ago
You are likely running into resource limits on the trial plan, please upgrade to a paid plan.
I upgraded the plan, and I redeployed the code, but I still got the same error:
container event container died
a year ago
My apologies for the incorrect diagnosis.
I have had a look at your code and your start command essentially ends up doing nothing, and thus you get the container event container died message upon startup.
Unfortunately we aren't able to offer coding help here, so we can't assist with this issue further.
Status changed to Closed brody • over 1 year ago