cron-job / Dockerfile
Ninad077's picture
Upload 5 files
9cf8198 verified
raw
history blame contribute delete
323 Bytes
# Use a lightweight Python image
FROM python:3.9-slim
# Set the working directory
WORKDIR /app
# Copy all files
COPY . /app
# Install dependencies
RUN pip install flask google-cloud-storage
# Ensure sync.sh is executable
RUN chmod +x sync.sh
# Expose the API port
EXPOSE 7860
# Run Flask app
CMD ["python", "app.py"]