File tree 3 files changed +29
-10
lines changed
3 files changed +29
-10
lines changed Original file line number Diff line number Diff line change 9
9
steps :
10
10
- uses : actions/checkout@v3
11
11
- name : Build Docker image
12
- run : docker build -t eis_toolkit -f ./Dockerfile .
12
+ run : docker build -t eis_toolkit -f ./Dockerfile-docs .
13
13
- name : Run mkdocs in Docker container
14
14
run : |
15
15
docker run -v ./site/pdf/:/eis_toolkit/site/pdf/ --env ENABLE_PDF_EXPORT=1 eis_toolkit poetry run mkdocs build
Original file line number Diff line number Diff line change @@ -7,20 +7,13 @@ WORKDIR /eis_toolkit
7
7
8
8
ARG DEBIAN_FRONTEND=noninteractive
9
9
RUN apt-get update && apt-get install -y \
10
- libpango-1.0-0 \
11
- libharfbuzz0b \
12
- libpangoft2-1.0-0 \
13
10
libgdal-dev \
14
11
python3-pip
15
12
16
13
RUN pip install poetry pre-commit
17
14
18
- COPY poetry.lock pyproject.toml mkdocs.yml /eis_toolkit/
19
- COPY docs /eis_toolkit/docs/
20
- COPY docs_assets /eis_toolkit/docs_assets/
21
- COPY eis_toolkit /eis_toolkit/eis_toolkit/
22
- COPY tests /eis_toolkit/tests/
15
+ COPY poetry.lock pyproject.toml /eis_toolkit/
23
16
24
17
RUN poetry install
25
18
26
- # COPY . .
19
+ COPY . .
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:22.04
2
+
3
+ EXPOSE 8888
4
+ EXPOSE 8000
5
+
6
+ WORKDIR /eis_toolkit
7
+
8
+ ARG DEBIAN_FRONTEND=noninteractive
9
+ RUN apt-get update && apt-get install -y \
10
+ libpango-1.0-0 \
11
+ libharfbuzz0b \
12
+ libpangoft2-1.0-0 \
13
+ libgdal-dev \
14
+ python3-pip
15
+
16
+ RUN pip install poetry pre-commit
17
+
18
+ COPY poetry.lock pyproject.toml mkdocs.yml /eis_toolkit/
19
+ COPY docs /eis_toolkit/docs/
20
+ COPY docs_assets /eis_toolkit/docs_assets/
21
+ COPY eis_toolkit /eis_toolkit/eis_toolkit/
22
+ COPY tests /eis_toolkit/tests/
23
+
24
+ RUN poetry install
25
+
26
+ # COPY . .
You can’t perform that action at this time.
0 commit comments