Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit bcd2fc9

Browse files
committed
Try slim
1 parent 571c581 commit bcd2fc9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# This file is for use as a runtime container only, it depends on dist/
22
# and lockfiles being made outside the container
3-
FROM python:3.11 as build
3+
FROM python:3.11-slim as base
4+
FROM base as build
45

56
# Add any system dependencies for the developer/build environment here e.g.
67
# RUN apt-get update && apt-get upgrade -y && \
@@ -18,7 +19,7 @@ ENV PATH=/venv/bin:$PATH
1819
# install the wheel
1920
RUN pip install -r lockfiles/requirements.txt dist/*.whl
2021

21-
FROM python:3.11-slim as runtime
22+
FROM base as runtime
2223

2324
# Add apt-get system dependecies for runtime here if needed
2425

0 commit comments

Comments
 (0)