from ubuntu:bionic

copy . /awdb

RUN set -x; \
        apt-get update \
        && apt-get install -y --no-install-recommends \
            python3-wheel \
            python3-setuptools \
            python3-pip \
            python3 \
        && rm -rf /var/lib/apt/lists/* \
        && cd /awdb \
        && pip3 install -e .

CMD ["awdb-server"]
