Spaces:
No application file
No application file
Factor Studios
commited on
Delete Dockerfile
Browse files- Dockerfile +0 -24
Dockerfile
DELETED
|
@@ -1,24 +0,0 @@
|
|
| 1 |
-
FROM huggingface/transformers-pytorch-cpu:latest
|
| 2 |
-
|
| 3 |
-
WORKDIR /app
|
| 4 |
-
|
| 5 |
-
# Copy virtual hardware components first
|
| 6 |
-
COPY ./virtual_hardware /app/virtual_hardware
|
| 7 |
-
|
| 8 |
-
# Copy AI backend components
|
| 9 |
-
COPY ./ai_backend /app/ai_backend
|
| 10 |
-
|
| 11 |
-
# Install Python dependencies (only those not in base image)
|
| 12 |
-
COPY ./ai_backend/requirements.txt /app/ai_backend/requirements.txt
|
| 13 |
-
RUN pip install --no-cache-dir -r /app/ai_backend/requirements.txt
|
| 14 |
-
|
| 15 |
-
# Set environment variable for Flask app
|
| 16 |
-
ENV FLASK_APP=ai_backend/app.py
|
| 17 |
-
|
| 18 |
-
# Expose the port Flask runs on
|
| 19 |
-
EXPOSE 7860
|
| 20 |
-
|
| 21 |
-
# Command to run the Flask application
|
| 22 |
-
CMD ["python", "-m", "flask", "run", "--host=0.0.0.0", "--port=7860"]
|
| 23 |
-
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|