Spaces:
Sleeping
Sleeping
rizky nindra commited on
Commit ·
5ab030d
1
Parent(s): 79ced19
kiap
Browse filesFiles changed (2)
- .idea/copilot.data.migration.agent.xmlAdded+19
- Dockerfile+8-8
12345678910111213141516171819<?xml version="1.0" encoding="UTF-8"?><project version="4"> <component name="AgentMigrationStateService"> <option name="pendingSessionIds"> <option value="91eba9fe-1f10-4afd-9b4a-85eaf18892d3" /> </option> <option name="pendingTurns"> <map> <entry key="91eba9fe-1f10-4afd-9b4a-85eaf18892d3"> <value> <set> <option value="a44c10aa-2f20-40a7-a2f8-c6a3752d2274" /> </set> </value> </entry> </map> </option> </component></project>123456789101112131415161718192021# Use lightweight Python baseFROM python:3.10-slim# Set working directoryWORKDIR /app# Copy requirements and installCOPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txt# Copy your Flask appCOPY . .# Expose port 5000 (Hugging Face default)EXPOSE 5000# Set environment variable for FlaskENV PORT=5000# Run Flask appCMD ["python", "app2.py"]123456789101112131415161718192021FROM ubuntu:22.04WORKDIR /app# Install Python 3.10 and pipRUN apt-get update && \apt-get install -y python3.10 python3-pip && \apt-get clean# Copy requirements and installCOPY requirements.txt .RUN python3.10 -m pip install --no-cache-dir -r requirements.txt# Copy your Flask appCOPY . .EXPOSE 5000ENV PORT=5000CMD ["python3.10", "app2.py"]
.idea/copilot.data.migration.agent.xmlAdded+19
Dockerfile+8-8