# Initializes a build stage and sets a Base Image. FROM alpine:latest # Install the ruby package RUN apk add ruby # Copy file from the host to the Docker image. COPY hello.rb /usr/local/bin/hello # Give "hello" the executable permission RUN chmod +x /usr/local/bin/hello # Set the default command to run CMD ["hello"]