Farbricated commited on
Commit
29422b2
·
1 Parent(s): 5ba42c4

fix: pin python base image to 3.11.9-slim-bookworm for stable Docker build

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  # Build: docker build -t meta-env:latest .
2
  # Run: docker run -p 7860:7860 meta-env:latest
3
 
4
- FROM python:3.11-slim
5
 
6
  WORKDIR /app
7
 
@@ -25,4 +25,4 @@ EXPOSE 7860
25
  HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \
26
  CMD curl -f http://localhost:${PORT}/health || exit 1
27
 
28
- CMD ["sh", "-c", "uvicorn server.app:app --host 0.0.0.0 --port ${PORT}"]
 
1
  # Build: docker build -t meta-env:latest .
2
  # Run: docker run -p 7860:7860 meta-env:latest
3
 
4
+ FROM python:3.11.9-slim-bookworm
5
 
6
  WORKDIR /app
7
 
 
25
  HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \
26
  CMD curl -f http://localhost:${PORT}/health || exit 1
27
 
28
+ CMD ["sh", "-c", "uvicorn server.app:app --host 0.0.0.0 --port ${PORT}"]