Compare commits
1 Commits
36b3addf59
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
393812210a |
6
Dockerfile
Normal file
6
Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
FROM nginx:alpine
|
||||||
|
|
||||||
|
COPY index.html /usr/share/nginx/html/index.html
|
||||||
|
COPY styles.css /usr/share/nginx/html/styles.css
|
||||||
|
COPY assets /usr/share/nginx/html/assets
|
||||||
|
COPY src /usr/share/nginx/html/src
|
||||||
4
captain-definition
Normal file
4
captain-definition
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"schemaVersion": 2,
|
||||||
|
"dockerfilePath": "./Dockerfile"
|
||||||
|
}
|
||||||
4
scripts/build.sh
Normal file
4
scripts/build.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
sudo docker build -t physilinks .
|
||||||
4
scripts/run.sh
Normal file
4
scripts/run.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
sudo docker run --rm -p 8080:80 physilinks
|
||||||
Reference in New Issue
Block a user