-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcli-Dockerfile
More file actions
22 lines (17 loc) · 907 Bytes
/
cli-Dockerfile
File metadata and controls
22 lines (17 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ARG PYTAG=3.7.3-stretch
FROM python:${PYTAG}
LABEL org.opencontainers.image.title="Hypercane" \
org.opencontainers.image.description="A framework of algorithms for sampling mementos from a collection" \
org.opencontainers.image.licenses="MIT License" \
org.opencontainers.image.source="https://github.com/oduwsdl/hypercane" \
org.opencontainers.image.documentation="https://hypercane.readthedocs.io/" \
org.opencontainers.image.vendor="Web Science and Digital Libraries Research Group at Old Dominion University" \
org.opencontainers.image.authors="Shawn M. Jones <https://github.com/shawnmjones>"
WORKDIR /app
RUN pip install --upgrade pip
COPY requirements.txt ./
RUN pip install -r requirements.txt
RUN python -m spacy download en_core_web_sm
COPY . ./
RUN pip install . --use-feature=in-tree-build
WORKDIR /hypercane-work