mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01: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 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
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user