Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# == base ======================
FROM buildpack-deps:bookworm AS base
ENV CACHEBUST=2024-09-17
RUN useradd -m -u 8000 observable-builder && mkdir /project && \
chown 8000:8000 /project && apt update
RUN useradd -m -u 1000 observable-builder && mkdir /project && \
chown 1000:1000 /project && apt update

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
Expand Down Expand Up @@ -34,7 +34,7 @@ RUN --mount=type=cache,target=/var/cache/apt,id=framework-runtime-python \
python3-dev \
python3-venv \
pipx
USER 8000
USER 1000
RUN pipx install poetry \
&& python3 -m venv $VIRTUAL_ENV

Expand Down Expand Up @@ -127,5 +127,5 @@ COPY --from=python . .
COPY --from=r . .
COPY --from=duckdb . .
COPY --from=rust . .
USER 8000:8000
USER 1000:1000
WORKDIR /project