Skip to content

Commit

Permalink
build: Add labels and update maintainer information in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Feb 4, 2024
1 parent c6a506d commit 68e8831
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,20 @@
# docker build -t nbiatoolkit .
#
# ADD LABELS HERE

FROM python:3.12-slim

LABEL maintainer="Jermiah Joseph"
LABEL maintainer="Jermiah Joseph jermiahjoseph98@gmail.com"
LABEL description="This is a Dockerfile for the nbiatoolkit package."
LABEL license="MIT"
LABEL usage="docker run -it --rm <image_name> NBIAToolkit --help"
LABEL org.opencontainers.image.source="github.com/jjjermiah/nbiatoolkit"

# install the dependencies
RUN pip install --upgrade pip
RUN python -m pip install nbiatoolkit

RUN python -c 'import nbiatoolkit; print(nbiatoolkit.version())'
RUN NBIAToolkit --help

# On run, open a bash shell
CMD ["/bin/bash"]
Expand Down

0 comments on commit 68e8831

Please sign in to comment.