Added a Dockerfile to the thing

This commit is contained in:
2024-05-29 14:47:09 +01:00
parent 874c713b1c
commit ac2d79d3d7
3 changed files with 56 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
FROM alpine:20231219
# Set the appropriate timezone
ENV TZ="Europe/Lisbon"
# Install the required packages
RUN apk --no-cache add bash zsh go make \
&& rm -rf /tmp/*
# Copy the source files
COPY ../src /printer-src
# Add the entrypoint
USER $UNAME
COPY ./start.sh /start.sh
STOPSIGNAL SIGTERM
ENTRYPOINT [ "/start.sh" ]