Shifting into own directory
This commit is contained in:
parent
9354f19f37
commit
7006b74df1
|
@ -7,3 +7,8 @@ output
|
|||
cache
|
||||
.sass-cache
|
||||
**/.idea
|
||||
.DS_Store
|
||||
|
||||
# Publishing creations...
|
||||
publishing/output
|
||||
publishing/juice
|
||||
|
|
|
@ -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"]
|
|
@ -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/
|
Loading…
Reference in New Issue