Updated build dir
This commit is contained in:
parent
54c2539b2a
commit
76eca2d9ca
pac-man-board-game
@ -1,3 +1,4 @@
|
|||||||
|
/// <reference types="vitest" />
|
||||||
import react from "@vitejs/plugin-react";
|
import react from "@vitejs/plugin-react";
|
||||||
import {defineConfig} from "vite";
|
import {defineConfig} from "vite";
|
||||||
|
|
||||||
@ -9,6 +10,9 @@ import {execSync} from "child_process";
|
|||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
|
build: {
|
||||||
|
outDir: "build",
|
||||||
|
},
|
||||||
test: {
|
test: {
|
||||||
globals: false,
|
globals: false,
|
||||||
environment: "happy-dom",
|
environment: "happy-dom",
|
||||||
|
@ -16,7 +16,6 @@ COPY ["pac-man-board-game/pac-man-board-game.csproj", "pac-man-board-game/"]
|
|||||||
RUN dotnet restore "pac-man-board-game/pac-man-board-game.csproj"
|
RUN dotnet restore "pac-man-board-game/pac-man-board-game.csproj"
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR "/src/pac-man-board-game"
|
WORKDIR "/src/pac-man-board-game"
|
||||||
# TODO missing build files from frontend
|
|
||||||
RUN dotnet build "pac-man-board-game.csproj" -c Release -o /app/build
|
RUN dotnet build "pac-man-board-game.csproj" -c Release -o /app/build
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
|
Loading…
x
Reference in New Issue
Block a user