Open Dockerfile files on your Mac.
Dockerfile
Build instructions and arguments, clearly separated.
Loper is a free, minimal editor for macOS that opens Dockerfile instantly and colors every part of the file, so you find the value you need at a glance and can fix it right there. No IDE, no project to load, no gray wall of text.

Show the file as text
FROM node:22-alpine AS buildWORKDIR /appCOPY package*.json ./RUN npm ciCOPY . .RUN npm run build FROM nginx:alpineCOPY --from=build /app/dist /usr/share/nginx/htmlEXPOSE 80How to open Dockerfile files
- Download Loper (free, Apple silicon, signed and notarized) and move it to Applications.
- Double-click your Dockerfile file, drag it onto the Loper window, or right-click it and choose Open With › Loper.
- Want every Dockerfile file to open in Loper? Choose Loper › Make Loper the Default Editor….