forked from Sharma05/icees-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (19 loc) · 709 Bytes
/
Dockerfile
File metadata and controls
24 lines (19 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM python:3.8
RUN mkdir icees-api
COPY ./requirements.txt /icees-api/requirements.txt
RUN pip install -r icees-api/requirements.txt
COPY ./app.py /icees-api/app.py
COPY ./handlers.py /icees-api/handlers.py
COPY ./models.py /icees-api/models.py
COPY ./dependencies.py /icees-api/dependencies.py
COPY ./db.py /icees-api/db.py
COPY ./utils.py /icees-api/utils.py
COPY ./terms.txt /icees-api/terms.txt
COPY ./TranslatorReasonersAPI.yaml /icees-api/TranslatorReasonersAPI.yaml
COPY ./features /icees-api/features
COPY ./examples icees-api/examples
COPY ./static /icees-api/static
COPY ./main.sh /icees-api/main.sh
COPY ./openapi-info.yml /icees-api/openapi-info.yml
WORKDIR /icees-api
CMD ["./main.sh"]