Initial testing of running Node website in docker.

This commit is contained in:
Hyperling 2022-10-29 11:31:06 -05:00
parent 618afc8e1d
commit 2ebfcd7fef
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# 2022-10-29 Hyperling
# Create website in node container and run it.
FROM node
RUN git clone https://github.com/Hyperling/www www
RUN apt update && apt install sudo
RUN www/run.sh

View File

@ -0,0 +1,10 @@
# Hyperling.com configuration.
# All that's needed in Node.js
version: '2'
services:
app:
image: node
restart: always
build: ./