I am trying to deploy a django app with docker on Render but it got stuck at deploying for hours.
My Docker file reads…
FROM python:3.9
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt .
RUN pip install -r ./requirements.txt
COPY . /app/
EXPOSE 10000
My docker-compose reads…
version: ‘3.8’
volumes:
data:
No. The only command is the one I added to my docker-compose. My Dockerfile is exactly what I wrote in my question. And so is my docker compose. Should I add a command to my Dockerfile or… Guide me through. I will be glad. Thank you
Render doesn’t support docker-compose. If you want to deploy a redis instance alongside your app in a docker-compose like fashion, you’ll want to use the render.yaml blueprint specification.