xlab-si/xopera-opera

View on GitHub
Dockerfile

Summary

Maintainability
Test Coverage
FROM python:3.10-slim-buster

# copy files
COPY . /opera
WORKDIR /opera

# install requirements
RUN apt-get update \
    && apt-get install -y git-all \
    && pip install --upgrade pip wheel \
    && pip install .

ENTRYPOINT ["opera", "--version", "/dev/null"]