Initial commit

This commit is contained in:
steven committed 2020-04-03 18:58:46 -06:00
1 parent f5a6e5ddaa
commit 397fee24e1
41 files changed
+4848 -1

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
# Boilerplate
FROM scratch
LABEL authors="Steven Polley <himself@stevenpolley.net>"
# Copy cyclescaler master server runtime environment into container
COPY master/master ./master
COPY master/templates ./templates
COPY master/public ./public
# The below files must be supplied, for our project they're supplied in the build environment provided by .drone.yml
COPY master/ca-certificates.crt /etc/ssl/certs/
COPY master/zoneinfo.zip ./zoneinfo.zip
# Define some runtime behaviour and entrypoint
ENV ZONEINFO zoneinfo.zip
EXPOSE 8097:8097
ENTRYPOINT ["/master"]