Initial testing of running Node website in docker.
This commit is contained in:
parent
618afc8e1d
commit
2ebfcd7fef
10
Config/Hyperling.com/Dockerfile
Normal file
10
Config/Hyperling.com/Dockerfile
Normal 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
|
10
Config/Hyperling.com/docker-compose.yml
Normal file
10
Config/Hyperling.com/docker-compose.yml
Normal file
@ -0,0 +1,10 @@
|
||||
# Hyperling.com configuration.
|
||||
# All that's needed in Node.js
|
||||
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
app:
|
||||
image: node
|
||||
restart: always
|
||||
build: ./
|
Loading…
x
Reference in New Issue
Block a user