Spaces:
Sleeping
Sleeping
File size: 346 Bytes
845e23e 01dd34b 845e23e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
From Python 3.12.7
# Step 2: Set working directory in the container
WORKDIR /app
# Step 3: Copy your app files into the container
COPY . /app
# Step 4: Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Step 5: Expose a port (optional, but useful)
EXPOSE 7860
# Step 6: Command to run your app
CMD ["python", "app.py"] |