qwik Docker & Self-Hosted Deployment

GitHub

Instant-loading web apps, without effort

22,040 stars TypeScript TypeScript 1 file ยท ~2,036 tokens #framework#hacktoberfest#javascript#web
1. Pull Image (DOCKERHUB) docker pull QwikDev/qwik:latest
2. Docker Run (1-Click Launch) docker run -d --name qwik --restart always qwikdev/qwik:latest
3. Podman Run podman run -d --name qwik --restart always qwikdev/qwik:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/qwikdev/qwik:latest
5. ORAS Pull (OCI Artifact) oras pull qwikdev/qwik:latest
starters/adapters/cloud-run/Dockerfile
FROM node:24-bookworm-slim AS build-env

COPY . /app
WORKDIR /app

# It is recommended that you only install production dependencies with
# `npm i --omit=dev`. You may need to check which dependencies are missing
RUN npm i
RUN npm run build


# A light-weight image for running the app
FROM gcr.io/distroless/nodejs24-debian13

WORKDIR /app
COPY --from=build-env /app/node_modules ./node_modules

# After running `npm run build` you will have 2 build folders.
# - The `dist` folder will be created including all the static files.
# - The `server` folder will be created including all node server files.
COPY --from=build-env /app/server ./server
COPY --from=build-env /app/dist ./dist

CMD ["server/entry.cloud-run.js"]