PunchNFIT
commited on
Commit
·
19e466d
1
Parent(s):
94c33ad
Update Dockerfile
Browse files- Dockerfile +2 -8
Dockerfile
CHANGED
|
@@ -1,15 +1,9 @@
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
|
|
|
|
|
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
-
# Explicitly copy each required file
|
| 6 |
-
COPY api_inference.py /app/api_inference.py
|
| 7 |
-
COPY snp_universal_embedding.py /app/snp_universal_embedding.py
|
| 8 |
-
COPY config.json /app/config.json
|
| 9 |
-
COPY tokenizer.json /app/tokenizer.json
|
| 10 |
-
COPY pytorch_model.bin /app/pytorch_model.bin
|
| 11 |
-
COPY requirements.txt /app/requirements.txt
|
| 12 |
-
|
| 13 |
# Install dependencies
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
|
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
+
# Copy everything in the repo into /app
|
| 4 |
+
ADD . /app
|
| 5 |
WORKDIR /app
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
# Install dependencies
|
| 8 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 9 |
|