mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
change Dockerfile.alpine name
This commit is contained in:
parent
a769aef059
commit
fcbb178096
@ -22,8 +22,8 @@ COPY . .
|
|||||||
COPY server-package.json package.json
|
COPY server-package.json package.json
|
||||||
|
|
||||||
# Copy TypeScript build artifacts into the original directory structure.
|
# Copy TypeScript build artifacts into the original directory structure.
|
||||||
RUN ls
|
RUN ls && \
|
||||||
RUN cp -R build/src/* src/.
|
cp -R build/src/* src/.
|
||||||
|
|
||||||
# Copy the healthcheck
|
# Copy the healthcheck
|
||||||
RUN cp build/docker_healthcheck.js .
|
RUN cp build/docker_healthcheck.js .
|
||||||
@ -32,15 +32,15 @@ RUN rm docker_healthcheck.ts
|
|||||||
RUN rm -r build
|
RUN rm -r build
|
||||||
|
|
||||||
# Install app dependencies
|
# Install app dependencies
|
||||||
RUN set -x
|
RUN set -x && \
|
||||||
RUN npm install
|
npm install && \
|
||||||
RUN apk del .build-dependencies
|
apk del .build-dependencies && \
|
||||||
RUN npm run webpack
|
npm run webpack && \
|
||||||
RUN npm prune --omit=dev
|
npm prune --omit=dev && \
|
||||||
RUN cp src/public/app/share.js src/public/app-dist/.
|
cp src/public/app/share.js src/public/app-dist/. && \
|
||||||
RUN cp -r src/public/app/doc_notes src/public/app-dist/.
|
cp -r src/public/app/doc_notes src/public/app-dist/. && \
|
||||||
RUN rm -rf src/public/app
|
rm -rf src/public/app && \
|
||||||
RUN rm src/services/asset_path.ts
|
rm src/services/asset_path.ts
|
||||||
|
|
||||||
|
|
||||||
# Some setup tools need to be kept
|
# Some setup tools need to be kept
|
Loading…
x
Reference in New Issue
Block a user