From 9a6d7cf4a5a0275176f7eb2a7578ef3e4ccfe176 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Fri, 22 Aug 2025 18:13:18 +0100 Subject: [PATCH] Include all needed files in Dockerfile Signed-off-by: Marcus Noble --- Dockerfile | 2 +- Makefile | 6 +----- index.html => src/index.html | 0 script.js => src/script.js | 0 style.css => src/style.css | 0 5 files changed, 2 insertions(+), 6 deletions(-) rename index.html => src/index.html (100%) rename script.js => src/script.js (100%) rename style.css => src/style.css (100%) diff --git a/Dockerfile b/Dockerfile index db5e253..043c96e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ FROM nginx:latest WORKDIR /usr/share/nginx/html -ADD index.html ./ +ADD src ./ diff --git a/Makefile b/Makefile index 5a8a0aa..8429b82 100644 --- a/Makefile +++ b/Makefile @@ -55,11 +55,7 @@ docker-publish: .PHONY: run # Run the application run: - @echo "⚠️ 'run' unimplemented" - # GO Projects - # @go run main.go - # Node Projects - # @npm start + @npx http-server ./src .PHONY: ci # Perform CI specific tasks to perform on a pull request ci: diff --git a/index.html b/src/index.html similarity index 100% rename from index.html rename to src/index.html diff --git a/script.js b/src/script.js similarity index 100% rename from script.js rename to src/script.js diff --git a/style.css b/src/style.css similarity index 100% rename from style.css rename to src/style.css