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