Run Django on Ubuntu

Hello! I’m hustling to run django on a ubuntu container. My host os is Windows 10 Pro, with Hyper-V enabled.

What I’ve done so far:

My Dockerfile:

FROM ubuntu:17.10
ENV PYTHONUNBUFFERED 1

RUN apt-get update -y
RUN apt-get install python3 python3-pip -y

RUN mkdir /code
WORKDIR /code
ADD requirements.txt /code/
RUN pip3 install -r requirements.txt
ADD . /code/

My docker-compose.yml:

version: '3'

services:
  db:
    image: postgres
  web:
    build: .
    command: python3 manage.py runserver 0.0.0.0:8000
    volumes:
      - .:/code
    ports:
     - "8000:8000"
    depends_on:
      - db

I’ve built the docker machine with:

docker build .

And then:

docker-compose up

But the containers (web and db) are running on debian and not on the ubuntu machine.
I need ubuntu because a plugin I need to use is only compatible with ubuntu.
How can I do that?
Thanks!