Skip to content

Commit

Permalink
feat: unpin docker version and add wheel + setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
Nastaliss committed Sep 4, 2024
1 parent 104c03b commit 39d1686
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12-slim@sha256:59c7332a4a24373861c4a5f0eec2c92b87e3efeb8ddef011744ef9a751b1d11c AS builder
FROM python:3.12-slim AS builder

ARG EXPORT_FLAG=--dev

Expand All @@ -9,7 +9,7 @@ COPY pyproject.toml poetry.toml poetry.lock ./
RUN poetry export -f requirements.txt $EXPORT_FLAG --without-hashes --output /tmp/requirements.txt


FROM python:3.12-slim@sha256:59c7332a4a24373861c4a5f0eec2c92b87e3efeb8ddef011744ef9a751b1d11c
FROM python:3.12-slim

RUN apt-get update && \
apt upgrade -y
Expand Down
38 changes: 36 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ django-prometheus = "^2.3.1"
pymediawiki = "^0.7.4"
pgvector = "^0.2.4"
mistralai = "^0.0.12"
setuptools = "^74.1.1"
wheel = "^0.44.0"

[tool.poetry.dev-dependencies]
bandit = "^1.7.3"
Expand Down

0 comments on commit 39d1686

Please sign in to comment.