Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Dockerfile

Andras Bacsaic4615ae5579b
diff --git a/Dockerfile b/Dockerfile
index 0e6a464b21..675fe5b5b1 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}/