# start from an existing image
FROM alpine

# run this command in the guest system (package installation)
RUN apk add --no-cache postgresql

# create a working directory and execute every remaining command from it
WORKDIR /mini_postgres

# copy the specified file(s) from the host to the working directory
COPY mini_postgres.sh .

# run this command by default (from the working directory)
CMD ["/bin/sh", "mini_postgres.sh"]
