containter
parent
1b05dd4006
commit
16c99ec5e4
@ -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…
Reference in New Issue