File tree Expand file tree Collapse file tree 3 files changed +15
-14
lines changed Expand file tree Collapse file tree 3 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 1
- FROM ubuntu:18 .04
1
+ FROM ubuntu:20 .04
2
2
3
3
# Must run from base TWIR directory... makefile takes care of this.
4
4
WORKDIR /usr/twir
@@ -13,19 +13,19 @@ RUN ln -s /usr/bin/python3.8 /usr/bin/python
13
13
COPY requirements.txt .
14
14
RUN pip3 install -r requirements.txt
15
15
16
- # pelican setup
17
- COPY content content
18
- COPY plugins plugins
19
- COPY themes themes
20
- COPY pelicanconf.py pelicanconf.py
21
-
22
16
# sass/juice
23
17
RUN apt-get install -y curl
24
18
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
25
19
RUN apt-get install -y nodejs
26
20
RUN npm install -g sass
27
21
RUN npm install -g juice
28
22
23
+ # pelican setup
24
+ COPY content content
25
+ COPY plugins plugins
26
+ COPY themes themes
27
+ COPY pelicanconf.py pelicanconf.py
28
+
29
29
COPY publishing/run_server.sh run_server.sh
30
30
RUN chmod 777 run_server.sh
31
31
COPY publishing/create_html_friendly_page.sh create_html_friendly_page.sh
Original file line number Diff line number Diff line change @@ -37,18 +37,18 @@ clean:
37
37
rm -rf output/
38
38
39
39
generate-website : clean
40
- docker run \
40
+ docker run -it \
41
41
-v $(shell pwd) /output:/usr/twir/output \
42
42
twir:latest
43
43
44
44
generate-email : clean
45
- docker run \
45
+ docker run -it \
46
46
-e TWIR_NEWSLETTER_THEME=1 \
47
47
-v $(shell pwd) /output:/usr/twir/output \
48
48
twir:latest
49
49
50
50
host-content :
51
- docker run \
51
+ docker run -it \
52
52
-p 8000:8000 \
53
53
-v $(shell pwd) /output:/usr/twir/output:ro \
54
54
-it \
Original file line number Diff line number Diff line change 1
- Markdown == 3.3.6
2
- pelican == 4.7.1
3
- feedgenerator == 2.0
4
- pelican-webassets == 2.0.0
5
1
cssmin == 0.2.0
2
+ feedgenerator == 2.0
6
3
jinja2 == 2.11.3
7
4
libsass == 0.21.0
5
+ Markdown == 3.3.6
6
+ markupsafe == 2.0.1
7
+ pelican == 4.7.1
8
+ pelican-webassets == 2.0.0
You can’t perform that action at this time.
0 commit comments