containter

trunk
HeNine 2 years ago
parent 1b05dd4006
commit 16c99ec5e4

2
.gitignore vendored

@ -3,3 +3,5 @@ _site
.jekyll-cache .jekyll-cache
.jekyll-metadata .jekyll-metadata
vendor vendor
schemata

@ -0,0 +1,12 @@
#!/bin/bash
# Copy schemata from docs
cp -r ../picc-docs/schemata .
# Built Jakyl site
cd main_page
JEKYLL_ENV=production bundle exec jekyll build
cd ..
# Build container
docker build --rm -t picc/picc-website -f nginx_container_build/Dockerfile .

@ -0,0 +1,4 @@
FROM nginx:1.23
COPY main_site/_site /usr/share/nginx/html
COPY schemata /usr/share/nginx/html/schemata
Loading…
Cancel
Save