From c4615ae5579b8e6c7d1d06fb878f0ebfade5190b Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 6 Sep 2022 14:20:14 +0200 Subject: [PATCH] Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0e6a464b2..675fe5b5b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,5 @@ ARG PNPM_VERSION=7.11.0 ARG NPM_VERSION=8.19.1 -ARG TARGETPLATFORM FROM node:18-slim as build WORKDIR /app @@ -16,6 +15,7 @@ RUN pnpm build FROM node:18-slim WORKDIR /app ENV NODE_ENV production +ARG TARGETPLATFORM RUN apt update && apt -y install --no-install-recommends ca-certificates git git-lfs openssh-client curl jq cmake sqlite3 openssl psmisc python3 RUN apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/