sentiment / Dockerfile
intanrly's picture
Update Dockerfile
ba54ca0 verified
raw
history blame contribute delete
250 Bytes
FROM python:3.10-slim
# Install dependencies
RUN pip install --no-cache-dir flask torch transformers
# Copy app code
WORKDIR /app
COPY app.py .
# Expose port (Hugging Face Spaces gunakan 7860)
EXPOSE 7860
# Jalankan Flask
CMD ["python", "app.py"]