Shifting into own directory

This commit is contained in:
andrewpkq 2022-08-08 20:39:45 -07:00
parent 9354f19f37
commit 7006b74df1
5 changed files with 9 additions and 3 deletions

5
.gitignore vendored
View File

@ -7,3 +7,8 @@ output
cache
.sass-cache
**/.idea
.DS_Store
# Publishing creations...
publishing/output
publishing/juice

View File

@ -1,5 +1,6 @@
FROM ubuntu:18.04
# Must run from base TWIR directory... makefile takes care of this.
WORKDIR /usr/twir
RUN apt-get update
@ -25,9 +26,9 @@ RUN apt-get install -y nodejs
RUN npm install -g sass
RUN npm install -g juice
COPY tools/run_server.sh run_server.sh
COPY publishing/run_server.sh run_server.sh
RUN chmod 777 run_server.sh
COPY tools/create_html_friendly_page.sh create_html_friendly_page.sh
COPY publishing/create_html_friendly_page.sh create_html_friendly_page.sh
RUN chmod 777 create_html_friendly_page.sh
CMD ["pelican", "--delete-output-directory", "content"]

View File

@ -31,7 +31,7 @@
BLOG_DOWNLOAD=http://127.0.0.1:8000/blog/2022/07/27/this-week-in-rust-453/
build:
docker build -t twir .
cd .. && docker build -t twir -f publishing/Dockerfile . && cd -
clean:
rm -rf output/