Hello all,

  I am playing around with Docker for the first time and would like to go 
over what I have done so far.  For one docker image, I want to add Django 
and QGIS in one image.  I think I have done that with the Dockerfile 
containing:

"FROM python:3
FROM qgis/qgis
ENV PYTHONUNBUFFERED=1
WORKDIR /code
COPY requirements.txt /code/
RUN pip install -r requirements.txt
COPY . /code/"

and the docker-compose.yml file of:
"version: "3.9"

services:
  qgis:
    image: qgis
  web:
    build: .
    command: python manage.py runserver 0.0.0.0:8000
    volumes:
     - .:/code
    ports:
     - "8000:8000"
    depends_on:
      - qgis
"

The requirements.txt file contains:
"Django>=4.0, <5.0
psycopg2-binary>=2.8
"

The docker image that I created that has both Django and QGIS is a little 
bit bigger than the vanilla qgis docker image, so I think I have them both 
in an image.  How can I perform a simple test to try and verify?

Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/70b1e978-cb18-4a5a-9e55-c271b8f6644en%40googlegroups.com.

Reply via email to