mirror of https://github.com/supakeen/gb
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
323 B
Docker
18 lines
323 B
Docker
FROM registry.fedoraproject.org/fedora-minimal:latest
|
|
|
|
RUN dnf5 -y upgrade
|
|
RUN dnf5 -y install python3 python3-pip
|
|
|
|
RUN mkdir /data
|
|
RUN mkdir /app
|
|
|
|
WORKDIR /app
|
|
|
|
RUN python -m venv venv
|
|
RUN venv/bin/pip install -U pip
|
|
RUN venv/bin/pip install gb
|
|
|
|
EXPOSE 7070
|
|
|
|
CMD ["/app/venv/bin/gb", "-m", "implicit", "--magic", "/data"]
|