diff --git a/Config/Hyperling.com/Dockerfile b/Config/Hyperling.com/Dockerfile new file mode 100644 index 0000000..85ad7a5 --- /dev/null +++ b/Config/Hyperling.com/Dockerfile @@ -0,0 +1,15 @@ +# 2022-10-29 Hyperling +# Create website in node container and run it. + +# Using Debian testing so that we use PHP >8. otherwise the shebangs from +# the include files (#!/usr/bin/php) show up on the website. +FROM debian:testing + +# Install Dependencies +RUN apt update && apt install -y sudo php-fpm nodejs npm + +# Run Website +CMD rm -rfv www && \ + git clone https://github.com/Hyperling/www www && \ + cd www && \ + ./run.sh diff --git a/Config/Hyperling.com/docker-compose.yml b/Config/Hyperling.com/docker-compose.yml new file mode 100644 index 0000000..641b063 --- /dev/null +++ b/Config/Hyperling.com/docker-compose.yml @@ -0,0 +1,12 @@ +# 2022-10-29 +# Hyperling.com configuration. + +version: '2' + +services: + app: + image: node + restart: always + build: ./ + ports: + - 8317:8080