mirror of
https://github.com/elisiariocouto/leggen.git
synced 2025-12-13 19:32:25 +00:00
fix: Do not install development dependencies.
This commit is contained in:
@@ -11,12 +11,10 @@ RUN --mount=type=cache,target=/root/.cache/uv \
|
|||||||
COPY . /app
|
COPY . /app
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/root/.cache/uv \
|
RUN --mount=type=cache,target=/root/.cache/uv \
|
||||||
uv sync --frozen --no-editable
|
uv sync --frozen --no-editable --no-group dev
|
||||||
|
|
||||||
FROM python:3.13-alpine
|
FROM python:3.13-alpine
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
LABEL org.opencontainers.image.source="https://github.com/elisiariocouto/leggen"
|
LABEL org.opencontainers.image.source="https://github.com/elisiariocouto/leggen"
|
||||||
LABEL org.opencontainers.image.authors="Elisiário Couto <elisiario@couto.io>"
|
LABEL org.opencontainers.image.authors="Elisiário Couto <elisiario@couto.io>"
|
||||||
LABEL org.opencontainers.image.licenses="MIT"
|
LABEL org.opencontainers.image.licenses="MIT"
|
||||||
@@ -24,8 +22,9 @@ LABEL org.opencontainers.image.title="leggen"
|
|||||||
LABEL org.opencontainers.image.description="An Open Banking CLI"
|
LABEL org.opencontainers.image.description="An Open Banking CLI"
|
||||||
LABEL org.opencontainers.image.url="https://github.com/elisiariocouto/leggen"
|
LABEL org.opencontainers.image.url="https://github.com/elisiariocouto/leggen"
|
||||||
|
|
||||||
# Copy the environment, but not the source code
|
WORKDIR /app
|
||||||
|
ENV PATH="/app/.venv/bin:$PATH"
|
||||||
|
|
||||||
COPY --from=builder --chown=app:app /app/.venv /app/.venv
|
COPY --from=builder --chown=app:app /app/.venv /app/.venv
|
||||||
|
|
||||||
# Run the application
|
|
||||||
ENTRYPOINT ["/app/.venv/bin/leggen"]
|
ENTRYPOINT ["/app/.venv/bin/leggen"]
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import sys
|
import sys
|
||||||
|
import tomllib
|
||||||
|
|
||||||
import click
|
import click
|
||||||
import tomllib
|
|
||||||
|
|
||||||
from leggen.utils.text import error
|
from leggen.utils.text import error
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user