Skip to content

Commit 34778b5

Browse files
committed
chore: reorganize dockerfile copy statements
Signed-off-by: Lucas Amaral <[email protected]>
1 parent c06f739 commit 34778b5

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docusaurus/Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,19 @@ FROM node:22-slim AS base
2020
ENV FORCE_COLOR=0
2121
RUN corepack enable
2222
WORKDIR /opt/docusaurus
23-
COPY package.json .
24-
COPY package-lock.json* .
23+
24+
# Documentation contents
25+
# The docs directory is overwritten by compose file
2526
COPY docs docs
2627
COPY src src
2728
COPY static static
2829
COPY versioned_docs versioned_docs
2930
COPY versioned_sidebars versioned_sidebars
31+
32+
# Configuration files
3033
COPY docusaurus.config.js .
34+
COPY package.json .
35+
COPY package-lock.json* .
3136
COPY sidebars.js .
3237
COPY sidebars.json .
3338
COPY test.js .

0 commit comments

Comments
 (0)