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
Dockerfile for multiarch builds
Andras Bacsai4946ca2d918d
diff --git a/Dockerfile b/Dockerfileindex 5d0a8912bc..90409e5bec 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,4 +1,4 @@-FROM node:16.14.0-alpine+FROM node:17-alpineRUN apk add --no-cache g++ cmake make python3WORKDIR /appCOPY package*.json .@@ -6,20 +6,18 @@ RUN yarn installCOPY . .RUN yarn build-FROM node:16.14.0-alpine+FROM node:17-alpineWORKDIR /app-+ARG TARGETPLATFORMLABEL coolify.managed true-RUN apk add --no-cache git openssh-client curl jq cmake sqlite-RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@6RUN pnpm add -g pnpm-RUN curl -fsSL "https://download.docker.com/linux/static/stable/x86_64/docker-20.10.9.tgz" | tar -xzvf - docker/docker -C . --strip-components 1 && mv docker /usr/bin/dockerRUN mkdir -p ~/.docker/cli-plugins/-RUN curl -SL https://github.com/docker/compose/releases/download/v2.2.2/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose-RUN chmod +x ~/.docker/cli-plugins/docker-compose+RUN curl -SL https://cdn.coollabs.io/bin/docker-20.10.9-$TARGETPLATFORM -o /usr/bin/docker+RUN curl -SL https://cdn.coollabs.io/bin/docker-compose-linux-2.3.4-$TARGETPLATFORM -o ~/.docker/cli-plugins/docker-compose+RUN chmod +x ~/.docker/cli-plugins/docker-compose /usr/bin/dockerCOPY --from=0 /app/docker-compose.yaml .COPY --from=0 /app/build .