Skip to content

Commit

Permalink
Add Dockerfile and .dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
camlloyd committed Jul 18, 2023
1 parent 6d7b6b4 commit 219521f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.dockerignore
.git
.github
.gitignore
.idea
build
dist
oct_to_tiff.egg-info
Dockerfile
*.md
*.txt
*.cff
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# syntax=docker/dockerfile:1
FROM python:3.8.17-slim

LABEL org.opencontainers.image.authors="Cameron Lloyd <lloyd@med.unideb.hu>" \
org.opencontainers.image.source="https://github.com/camlloyd/oct-to-tiff" \
org.opencontainers.image.licenses="BSD-3-Clause" \
org.opencontainers.image.title="oct-to-tiff" \
org.opencontainers.image.description="A command line tool for converting optical coherence tomography angiography (OCTA) data."

WORKDIR /app

RUN pip install --no-cache-dir oct-to-tiff==0.4.0

COPY . .

ENTRYPOINT [ "python", "src/oct_to_tiff/cli.py" ]

0 comments on commit 219521f

Please sign in to comment.