Dockerfile improvements.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
FROM node:latest AS base
|
||||
FROM node:lts-bookworm-slim AS base
|
||||
|
||||
# Install dependencies only when needed
|
||||
FROM base AS deps
|
||||
@ -36,7 +36,7 @@ RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY barker/pyproject.toml barker/poetry.lock /app
|
||||
COPY barker/pyproject.toml barker/poetry.lock* /app
|
||||
|
||||
# Allow installing dev dependencies to run tests
|
||||
ARG INSTALL_DEV=false
|
||||
|
||||
Reference in New Issue
Block a user