Delete Dockerfile
Browse files- Dockerfile +0 -25
Dockerfile
DELETED
|
@@ -1,25 +0,0 @@
|
|
| 1 |
-
FROM python:3.10-slim
|
| 2 |
-
|
| 3 |
-
# Make absolutely sure the working directory exists
|
| 4 |
-
RUN mkdir -p /app
|
| 5 |
-
WORKDIR /app
|
| 6 |
-
|
| 7 |
-
# Print working directory (for debugging)
|
| 8 |
-
RUN echo "✅ Building from context:" && pwd && ls -R
|
| 9 |
-
|
| 10 |
-
# Copy specific files explicitly by name
|
| 11 |
-
COPY api_inference.py /app/api_inference.py
|
| 12 |
-
COPY snp_universal_embedding.py /app/snp_universal_embedding.py
|
| 13 |
-
COPY config.json /app/config.json
|
| 14 |
-
COPY tokenizer.json /app/tokenizer.json
|
| 15 |
-
COPY pytorch_model.bin /app/pytorch_model.bin
|
| 16 |
-
COPY requirements.txt /app/requirements.txt
|
| 17 |
-
|
| 18 |
-
# Install dependencies
|
| 19 |
-
RUN pip install --no-cache-dir -r /app/requirements.txt
|
| 20 |
-
|
| 21 |
-
# Expose Hugging Face port
|
| 22 |
-
EXPOSE 7860
|
| 23 |
-
|
| 24 |
-
# Run the app
|
| 25 |
-
CMD ["python", "/app/api_inference.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|