Skip to content

Commit

Permalink
♻️ Use Docker slim to reduce the size and time pulling and running
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Nov 2, 2023
1 parent 63da46c commit fa710b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- main
# TODO: remove this
- slim
release:
types:
- published
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10
FROM python:3.10-slim

COPY ./requirements.txt /app/requirements.txt

Expand Down

0 comments on commit fa710b7

Please sign in to comment.