feat: Moved website files to clean root dir
Some checks failed
Build Docker / Build Docker (push) Failing after 18s
@ -1,4 +1,4 @@
|
|||||||
FROM nginx
|
FROM nginx
|
||||||
RUN rm /etc/nginx/conf.d/default.conf
|
RUN rm /etc/nginx/conf.d/default.conf
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
COPY website/nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
COPY content /var/www/html
|
COPY website/content /var/www/html
|
13
build.sh
@ -1,13 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Build the project
|
|
||||||
echo "Building the project..."
|
|
||||||
docker build -t hns_doh:test .
|
|
||||||
|
|
||||||
# Start the container
|
|
||||||
echo "Starting the container..."
|
|
||||||
docker run -p 1234:80 --name hns_doh hns_doh:test
|
|
||||||
|
|
||||||
# Remove the container
|
|
||||||
echo "Removing the container..."
|
|
||||||
docker rm -f hns_doh
|
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |