Created
June 10, 2025 10:05
-
-
Save initcron/1eba83fd4662298c20a0ea80ab79cc81 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use python alpine base image | |
FROM python:3.11-alpine3.17 | |
# Set working directory | |
WORKDIR /app | |
# Copy source code to container | |
COPY . /app | |
# Install dependencies | |
RUN pip install --no-cache-dir -r requirements.txt | |
# Expose port 80 | |
EXPOSE 80 | |
# Start the app using gunicorn | |
CMD ["gunicorn", "app:app", "-b", "0.0.0.0:80"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment