# Use the official Piston image as the base FROM ghcr.io/engineer-man/piston:latest # Set the working directory WORKDIR /piston # Expose the API port EXPOSE 2000 # Start the Piston API CMD ["piston", "serve"]