Release to production, switching from caprover to a more generic webserver. #2
@@ -1,3 +0,0 @@
|
||||
FROM docker.io/nginx:1-alpine
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY ./www /www
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"schemaVersion": 2,
|
||||
"dockerfilePath": "./Dockerfile"
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
# Script used to spin up a local webserver for development & testing
|
||||
|
||||
#!/bin/bash
|
||||
podman run -it --rm -p 3000:80 $(podman build -q .)
|
||||
14
nginx.conf
14
nginx.conf
@@ -1,14 +0,0 @@
|
||||
server {
|
||||
listen 80;
|
||||
root /www;
|
||||
|
||||
location / {
|
||||
index index.html;
|
||||
try_files $uri /index.html;
|
||||
}
|
||||
|
||||
location /lucy {
|
||||
index index.html;
|
||||
try_files $uri /lucy.html;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user