Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# https://docs.docker.com/engine/reference/builder/

# https://hub.docker.com/_/python/
FROM python:3.11-slim
FROM python:3.11

# Configure apt not to prompt during docker build
ARG DEBIAN_FRONTEND=noninteractive
Expand All @@ -18,6 +18,10 @@ ENV PYTHONUNBUFFERED=1
# https://docs.python.org/3.11/library/faulthandler.html
ENV PYTHONFAULTHANDLER=1

# Python: force-enable pip's PEP 517 mode
# https://github.com/pypa/pip/issues/6334
ENV PIP_USE_PEP517=true

WORKDIR /root

# Configure apt to avoid installing recommended and suggested packages
Expand Down
Loading