Skip to content

Build your personal knowledge base with Trilium Notes

change Dockerfile.alpine name

perf3ctfcbb17809687
diff --git a/Dockerfile-alpine b/Dockerfile.alpine
similarity index 73%
rename from Dockerfile-alpine
rename to Dockerfile.alpine
index c986800a02..e7678db453 100644
--- a/Dockerfile-alpine
+++ b/Dockerfile.alpine
@@ -22,8 +22,8 @@ COPY . .
COPY server-package.json package.json
# Copy TypeScript build artifacts into the original directory structure.
-RUN ls
-RUN cp -R build/src/* src/.
+RUN ls && \
+ cp -R build/src/* src/.
# Copy the healthcheck
RUN cp build/docker_healthcheck.js .
@@ -32,15 +32,15 @@ RUN rm docker_healthcheck.ts
RUN rm -r build
# Install app dependencies
-RUN set -x
-RUN npm install
-RUN apk del .build-dependencies
-RUN npm run webpack
-RUN npm prune --omit=dev
-RUN cp src/public/app/share.js src/public/app-dist/.
-RUN cp -r src/public/app/doc_notes src/public/app-dist/.
-RUN rm -rf src/public/app
-RUN rm src/services/asset_path.ts
+RUN set -x && \
+ npm install && \
+ apk del .build-dependencies && \
+ npm run webpack && \
+ npm prune --omit=dev && \
+ cp src/public/app/share.js src/public/app-dist/. && \
+ cp -r src/public/app/doc_notes src/public/app-dist/. && \
+ rm -rf src/public/app && \
+ rm src/services/asset_path.ts
# Some setup tools need to be kept