mirror of
https://github.com/Screenly/Anthias.git
synced 2026-04-19 22:17:40 -04:00
* fix: enforce HTTPS when using `curl` to install Poetry * chore(ci): exclude development-related files from build pipeline
13 lines
343 B
Docker
13 lines
343 B
Docker
FROM python:3.11-bookworm
|
|
|
|
RUN apt-get update -y && \
|
|
curl --proto "=https" -sSL https://install.python-poetry.org | python3 - && \
|
|
ln -s /root/.local/bin/poetry /usr/local/bin/poetry
|
|
|
|
WORKDIR /app
|
|
|
|
COPY pyproject.toml poetry.lock /app/
|
|
|
|
RUN poetry install --only=docker-image-builder
|
|
RUN git config --global --add safe.directory /app
|