Implement deploy-system port command

This commit is contained in:
David Boreham
2023-01-23 22:09:56 -07:00
parent 9464c47163
commit ea6f932e00
6 changed files with 37 additions and 8 deletions
+2
View File
@@ -3,3 +3,5 @@ services:
test:
image: cerc/test-container:local
restart: always
ports:
- "80"
@@ -1,4 +1,11 @@
FROM alpine:latest
FROM ubuntu:latest
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive && export DEBCONF_NOWARNINGS="yes" && \
apt-get install -y software-properties-common && \
apt-get install -y nginx && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
EXPOSE 80
COPY run.sh /app/run.sh
@@ -12,5 +12,5 @@ else
echo `date` > $EXISTSFILENAME
fi
# Sleep forever to keep docker happy
while true; do sleep 10; done
# Run nginx which will block here forever
/usr/sbin/nginx -g "daemon off;"
+3
View File
@@ -0,0 +1,3 @@
# Test Stack
A stack for test/demo purposes.
+7
View File
@@ -0,0 +1,7 @@
version: "1.0"
name: test
description: "A test stack"
containers:
- cerc/test-container
pods:
- test