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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: dockerfile
Andras Bacsai5a80bb1d2a10
diff --git a/Dockerfile b/Dockerfileindex 9383464394..59ec0df062 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,8 +1,10 @@FROM node:18-slim as buildWORKDIR /app+ARG PNPM_VERSION=7.11.0+RUN apt update && apt -y install curl-RUN curl -sL https://unpkg.com/@pnpm/self-installer | node+RUN npm --no-update-notifier --no-fund --global install pnpm@${PNPM_VERSION}COPY . .RUN pnpm install@@ -12,10 +14,14 @@ RUN pnpm buildFROM node:18-slimWORKDIR /appENV NODE_ENV production+ARG NPM_VERSION=8.19.1+ARG PNPM_VERSION=7.11.0ARG TARGETPLATFORM-RUN apt update && apt -y install git git-lfs openssh-client curl jq cmake sqlite3 openssl psmisc python3 && apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/-RUN curl -sL https://unpkg.com/@pnpm/self-installer | node+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}/+RUN npm --no-update-notifier --no-fund --global install pnpm@${PNPM_VERSION}+RUN npm install -g npm@${PNPM_VERSION}RUN mkdir -p ~/.docker/cli-plugins/# https://download.docker.com/linux/static/stable/