Website is running correctly.

This commit is contained in:
Hyperling 2022-10-30 08:05:41 -05:00
parent 39a92e1766
commit 7e84373124
2 changed files with 13 additions and 9 deletions

View File

@ -1,13 +1,15 @@
# 2022-10-29 Hyperling # 2022-10-29 Hyperling
# Create website in node container and run it. # Create website in node container and run it.
FROM node # 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
# Dependencies # Install Dependencies
RUN apt update && apt install sudo RUN apt update && apt install -y sudo php-fpm nodejs npm
# Install website # Run Website
RUN git clone https://github.com/Hyperling/www www CMD rm -rfv www && \
git clone https://github.com/Hyperling/www www && \
# Run website cd www && \
RUN www/run.sh ./run.sh

View File

@ -1,5 +1,5 @@
# 2022-10-29
# Hyperling.com configuration. # Hyperling.com configuration.
# All that's needed in Node.js
version: '2' version: '2'
@ -8,3 +8,5 @@ services:
image: node image: node
restart: always restart: always
build: ./ build: ./
ports:
- 8317:8080