Compare commits

..

4 Commits

Author SHA1 Message Date
99a3be65db Merge pull request 'Update captain-definition' (#6) from bugfix-issue5 into master
Reviewed-on: #6
2025-01-09 15:50:14 +00:00
22c78ca7ba Update captain-definition
Fixing issue #5
2025-01-09 15:49:20 +00:00
bd0c3031b3 Merge pull request 'Transition from busybox httpd to nginx' (#4) from nginx into master
Reviewed-on: #4
2025-01-09 15:38:30 +00:00
Jason Williams
66d59073b0 Transition from busybox httpd to nginx 2025-01-09 08:36:17 -07:00
7 changed files with 16 additions and 15 deletions

3
Dockerfile Normal file
View File

@@ -0,0 +1,3 @@
FROM docker.io/nginx:1-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY ./www /www

View File

@@ -1,8 +1,4 @@
{ {
"schemaVersion": 2, "schemaVersion": 2,
"dockerfileLines": [ "dockerfilePath": "./Dockerfile"
"FROM lipanski/docker-static-website",
"COPY httpd.conf httpd.conf",
"COPY ./www /www"
]
} }

View File

@@ -1 +0,0 @@
H:/www

4
local-test.sh Normal file
View File

@@ -0,0 +1,4 @@
# Script used to spin up a local webserver for development & testing
#!/bin/bash
podman run -it --rm -p 3000:80 $(podman build -q .)

View File

@@ -1,3 +0,0 @@
FROM docker.io/lipanski/docker-static-website
COPY httpd.conf httpd.conf
COPY ./www /www

View File

@@ -1,6 +0,0 @@
# Script used to spin up a local webserver for development
#!/bin/bash
CURR_DIR="$(pwd)"
cd ${PWD}/..
podman run -it --rm --init -p 3000:3000 $(podman build -q -f ./local-test/Dockerfile .)

8
nginx.conf Normal file
View File

@@ -0,0 +1,8 @@
server {
listen 80;
root /www;
location / {
index index.html;
}
}