8 lines
281 B
Docker
8 lines
281 B
Docker
# Runs on Alpine container, latest version.
|
|
FROM alpine
|
|
# Copy the script to the home directory of the container.
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
# Grant executable permission on the script.
|
|
RUN ["chmod", "+x", "/entrypoint.sh"]
|
|
# Runs the script.
|
|
ENTRYPOINT [ "/entrypoint.sh" ] |