Dockerfile 344 Bytes
Newer Older
1 2 3 4 5 6 7 8
FROM python:3
LABEL maintainer="Alexander Lercher"

RUN apt-get update

EXPOSE 5000

WORKDIR /app
9

10
COPY src/data-hub/semantic-linking-microservice/app/requirements.txt /app/
11
RUN pip install -r requirements.txt
12 13 14

COPY src/data-hub/semantic-linking-microservice/app/ /app/
COPY src/modules/ /app/
15 16 17
RUN chmod a+x main.py

CMD ["python", "./main.py"]