fix dockerfile, copy new ui code
This commit is contained in:
parent
f992eda9da
commit
c54e4f3d66
1 changed files with 4 additions and 2 deletions
|
|
@ -6,10 +6,12 @@ WORKDIR /build
|
||||||
COPY package.json package-lock.json ./
|
COPY package.json package-lock.json ./
|
||||||
RUN npm ci --ignore-scripts
|
RUN npm ci --ignore-scripts
|
||||||
|
|
||||||
COPY build.js ./
|
COPY build.js build-ui.js ./
|
||||||
COPY shims/ ./shims/
|
COPY shims/ ./shims/
|
||||||
|
COPY services/ ./services/
|
||||||
|
COPY ui/ ./ui/
|
||||||
|
|
||||||
RUN npm run build:shims
|
RUN npm run build
|
||||||
|
|
||||||
# Production image. No Obsidian code included.
|
# Production image. No Obsidian code included.
|
||||||
# On first run, the entrypoint downloads and patches Obsidian.
|
# On first run, the entrypoint downloads and patches Obsidian.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue