Website is running correctly.
This commit is contained in:
@ -1,13 +1,15 @@
|
||||
# 2022-10-29 Hyperling
|
||||
# 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
|
||||
RUN apt update && apt install sudo
|
||||
# Install Dependencies
|
||||
RUN apt update && apt install -y sudo php-fpm nodejs npm
|
||||
|
||||
# Install website
|
||||
RUN git clone https://github.com/Hyperling/www www
|
||||
|
||||
# Run website
|
||||
RUN www/run.sh
|
||||
# Run Website
|
||||
CMD rm -rfv www && \
|
||||
git clone https://github.com/Hyperling/www www && \
|
||||
cd www && \
|
||||
./run.sh
|
||||
|
Reference in New Issue
Block a user