Quickstart
Put an app online with three commands.
1. Install the command line
$ curl -fsSL https://joinshim.com/install.sh | shCheck that it works:
$ shim --version2. Sign in
$ shim loginThe command prints a link and an 8-letter code. Open the link, sign in with your email address, type the code and approve. The command line stays signed in on that machine for 30 days.
3. Deploy
Run this in a folder that has a Dockerfile:
$ cd budget
$ shim deployShim uploads the folder, builds the image, starts it, checks that it answers, and prints the address. The app is named after the folder, so a folder called budget goes live at https://budget.shim.live. The first deploy writes a shim.toml file with that name so the folder always deploys to the same app.
A new app is private: only you can open it until you share it.
If a deploy fails, the previous version stays live.
What your app must do
- Listen for plain HTTP on the port in the
PORTvariable, which is8080. Shim handles HTTPS in front of it. - Start answering within 30 seconds of starting. Any HTTP status counts as an answer.
- Build for 64-bit ARM (
linux/arm64). Most official base images support it.
A Dockerfile for a Node app with a start script:
FROM node:22-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --omit=dev
COPY . .
EXPOSE 8080
CMD ["npm", "start"]What gets uploaded
Everything in the folder except .git and whatever .dockerignore excludes. Links that point outside the folder are left out. The upload can be at most 100 MB compressed; list what the build does not need in .dockerignore.
Next
- Share the app with someone by email.
- Set variables and secrets.
- See what a deploy would change before running it:
shim plan. - Go back to the previous version:
shim rollback.