Merge pull request #2 from Hyperling/website

Add Website
This commit is contained in:
Hyperling 2022-10-30 13:07:32 +00:00 committed by GitHub
commit 64ca1d3ca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,12 @@
# 2022-10-29
# Hyperling.com configuration.
version: '2'
services:
app:
image: node
restart: always
build: ./
ports:
- 8317:8080