-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathDockerfile-dev
More file actions
31 lines (25 loc) · 779 Bytes
/
Copy pathDockerfile-dev
File metadata and controls
31 lines (25 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM python:3.14-slim-bookworm
# Make sure that we don't get any interactive prompts
ENV DEBIAN_FRONTEND=noninteractive
# Install system packages and Node.js 24
RUN apt-get update && apt-get install -y \
build-essential \
curl \
gnupg \
ca-certificates \
lsb-release \
locales \
make \
jq \
vim && \
curl -fsSL https://deb.nodesource.com/setup_24.x | bash - && \
apt-get install -y nodejs
# Install utilities. Since it's a container we cheerfully install everything globally
RUN pip install killport ipython
# Install Poetry
RUN pip install poetry
# Install Poetry dependencies
COPY middleware/poetry.lock middleware/pyproject.toml ./
RUN poetry config virtualenvs.create false && \
poetry install --no-root
WORKDIR /usr/src