Skip to content

Commit dcb8fb2

Browse files
committed
Switch doc handling: use a read-only bind mount instead, and add compose.yml
1 parent 699572f commit dcb8fb2

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

.dockerignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
*
2-
!rocq-doc/
32
!asset/
43
!data/
54
!src/

Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ RUN chmod -R 755 /var
3333
COPY --from=build /home/opam/package.state /var/package.state
3434
COPY --from=build /home/opam/rocq-opam-repository /var/opam-repository
3535
COPY --from=build /home/opam/_build/default/src/rocqproverorg_web/bin/main.exe /bin/server
36-
COPY --from=build /home/opam/rocq-doc /doc
3736

3837
COPY playground/asset playground/asset
3938

compose.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
services:
2+
web:
3+
restart: always
4+
build: .
5+
ports:
6+
- "127.0.0.1:8000:8080"
7+
volumes:
8+
- type: bind
9+
source: ./rocq-doc
10+
target: /doc
11+
read_only: true

rocq-doc

0 commit comments

Comments
 (0)