fix: Fix up some stuff
This commit is contained in:
		
					parent
					
						
							
								dd9a4b6b60
							
						
					
				
			
			
				commit
				
					
						effa4e4cf7
					
				
			
		
					 3 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -24,8 +24,8 @@ jobs:
 | 
			
		|||
      - name: Archive production artifacts
 | 
			
		||||
        uses: actions/upload-artifact@v4
 | 
			
		||||
        with:
 | 
			
		||||
          name: dist
 | 
			
		||||
          path: dist
 | 
			
		||||
          name: build/client
 | 
			
		||||
          path: build/client
 | 
			
		||||
  package:
 | 
			
		||||
    name: Package
 | 
			
		||||
    needs: build
 | 
			
		||||
| 
						 | 
				
			
			@ -36,8 +36,8 @@ jobs:
 | 
			
		|||
      - name: Download build artifacts
 | 
			
		||||
        uses: actions/download-artifact@v4
 | 
			
		||||
        with:
 | 
			
		||||
          name: dist
 | 
			
		||||
          path: dist
 | 
			
		||||
          name: build/client
 | 
			
		||||
          path: build/client
 | 
			
		||||
      - name: Build and push docker image
 | 
			
		||||
        uses: docker/build-push-action@v5
 | 
			
		||||
        with:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
FROM nginx:stable-alpine
 | 
			
		||||
COPY dist /usr/share/nginx/html
 | 
			
		||||
COPY build/client /usr/share/nginx/html
 | 
			
		||||
EXPOSE 80
 | 
			
		||||
CMD ["nginx", "-g", "daemon off;"]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,5 +3,5 @@ import type { Config } from "@react-router/dev/config";
 | 
			
		|||
export default {
 | 
			
		||||
  // Config options...
 | 
			
		||||
  // Server-side render by default, to enable SPA mode set this to `false`
 | 
			
		||||
  ssr: true,
 | 
			
		||||
  ssr: false,
 | 
			
		||||
} satisfies Config;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue