parent
0d61f61e52
commit
34ad59533b
3 changed files with 9 additions and 2 deletions
|
|
@ -68,7 +68,9 @@ FROM python:3.12.3-slim AS runtime
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get upgrade -y \
|
&& apt-get upgrade -y \
|
||||||
&& apt-get install -y git libpq5 curl \
|
&& apt-get install -y curl git libpq5 gnupg \
|
||||||
|
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
|
||||||
|
&& apt-get install -y nodejs \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& useradd user -u 1000 -g 0 --no-create-home --home-dir /app/data
|
&& useradd user -u 1000 -g 0 --no-create-home --home-dir /app/data
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,9 @@ FROM python:3.12.3-slim AS runtime
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get upgrade -y \
|
&& apt-get upgrade -y \
|
||||||
&& apt-get install -y git libpq5 curl \
|
&& apt-get install -y git libpq5 curl gnupg \
|
||||||
|
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
|
||||||
|
&& apt-get install -y nodejs \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& useradd user -u 1000 -g 0 --no-create-home --home-dir /app/data
|
&& useradd user -u 1000 -g 0 --no-create-home --home-dir /app/data
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,9 @@ RUN apt-get update \
|
||||||
git \
|
git \
|
||||||
# Add PostgreSQL client libraries
|
# Add PostgreSQL client libraries
|
||||||
libpq5 \
|
libpq5 \
|
||||||
|
gnupg \
|
||||||
|
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
|
||||||
|
&& apt-get install -y nodejs \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& useradd user -u 1000 -g 0 --no-create-home --home-dir /app/data \
|
&& useradd user -u 1000 -g 0 --no-create-home --home-dir /app/data \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue