FROM stoplight/prism:4.4.3 # Set the working directory in the container WORKDIR /app # Copy your OpenAPI specification to the container COPY ./path/to/your/openapi.yaml /app/openapi.yaml # Expose the port Prism will run on EXPOSE 4010 # Command to run Prism and mock your API CMD ["mock", "-h", "0.0.0.0", "/app/openapi.yaml"]