10 lines
213 B
Docker
10 lines
213 B
Docker
FROM python:3.12-slim
|
|
|
|
# Install dependencies
|
|
RUN pip install --no-cache-dir gunicorn httpbin
|
|
|
|
# Expose the application port
|
|
EXPOSE 80
|
|
|
|
# Launch the application
|
|
CMD ["gunicorn", "-b", "0.0.0.0:80", "httpbin:app"]
|