skip to Main Content

Can I rename the original image in docker-compose?

My Configuration My docker-compose.yml looks like this with some config for backend etc..., but I need some changes for db service. version: '3.6' services: db: container_name: db-${STAGE:-dev} image: postgres:14.0-alpine volumes: - postgres_data:/var/lib/postgresql/data/ ports: - "5432:5432" env_file: - .env.${STAGE:-dev} I don't…

VIEW QUESTION

Docker-compose no longer building image (AttributeError: cython_sources)

I am building a django-react site and suddenly my docker-compose no longer builds despite any changes to requirements or image versions. My requirements.txt looks as follows: Django>=3.2.4,<4.0 djangorestframework>=3.12.4,<3.14.0 djangorestframework-simplejwt>=4.8.0,<5.3.0 psycopg2>=2.8.6,<2.9 drf-spectacular>=0.15.1,<0.30 django-allauth>0.5,<1.0 dj-rest-auth>=3.0,<4.0 The error output: => [backend internal] load…

VIEW QUESTION
Back To Top
Search