Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Commit b9f8080

Browse files
committed
Build in Docker
1 parent 8a869e6 commit b9f8080

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

Dockerfile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
FROM registry.km8.es/vuepress-base:latest as vuepress
2-
ADD . /src
3-
RUN echo $'#!/bin/ash\n\
4-
npm ci && vuepress build\n' >> /build.sh
5-
CMD ["/build.sh"]
2+
3+
WORKDIR /src
4+
COPY . .
5+
RUN npm ci && vuepress build
6+
7+
# ADD . /src
8+
# RUN echo $'#!/bin/ash\n\
9+
# npm ci && vuepress build\n' >> /build.sh
10+
# CMD ["/build.sh"]
611

712
FROM abiosoft/caddy:no-stats
813
COPY --from=vuepress /src/.vuepress/dist /srv/

0 commit comments

Comments
 (0)