Add output and logging to container

This commit is contained in:
Nick Alteen
2023-09-01 14:10:18 -04:00
parent dd2f5f03b8
commit fd8511c33b
3 changed files with 36 additions and 14 deletions
+8 -4
View File
@@ -1,7 +1,11 @@
FROM alpine:3.10
# Set the base image to use for subsequent instructions
FROM alpine:3.18
COPY LICENSE README.md /
# Set the working directory inside the container
WORKDIR /usr/src
COPY entrypoint.sh /entrypoint.sh
# Copy any source file(s) required for the action
COPY entrypoint.sh .
ENTRYPOINT ["/entrypoint.sh"]
# Configure the container to be run as an executable
ENTRYPOINT ["/usr/src/entrypoint.sh"]