Merged PR 7: タスク 1384: OMDS環境への引っ越し(Pipeline)
## 概要 [タスク 1384: OMDS環境への引っ越し(Pipeline)](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/OMDSDictation/_workitems/edit/1384) - OMDS環境へのPipeline引っ越しに関する変更です。 - パイプラインをDevOpsで作成しているためYamlファイルを削除 - buildへのパスを修正 ## レビューポイント - 共有 ## UIの変更 - なし ## 動作確認状況 - パイプラインが動作してAzure環境にデプロイされることを確認
This commit is contained in:
parent
bfe91c64c9
commit
bf7a985b0d
@ -2,9 +2,13 @@
|
||||
"name": "client",
|
||||
"private": true,
|
||||
"version": "0.1.0",
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "vite",
|
||||
"build": "tsc && vite build",
|
||||
"build:prod": "tsc && vite build",
|
||||
"build:local": "tsc && vite build && sh localdeploy.sh",
|
||||
"preview": "vite preview",
|
||||
"typecheck": "tsc --noEmit",
|
||||
|
||||
@ -2,9 +2,7 @@ import React from "react";
|
||||
|
||||
const SamplePage: React.FC = () => (
|
||||
<div>
|
||||
hello world!
|
||||
<br />
|
||||
Dictation App Service Site
|
||||
<h1>hello world!!</h1>
|
||||
</div>
|
||||
);
|
||||
|
||||
|
||||
5
dictation_client/staticwebapp.config.json
Normal file
5
dictation_client/staticwebapp.config.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"navigationFallback": {
|
||||
"rewrite": "/index.html"
|
||||
}
|
||||
}
|
||||
@ -10,7 +10,7 @@ import { AuthController } from './features/auth/auth.controller';
|
||||
@Module({
|
||||
imports: [
|
||||
ServeStaticModule.forRoot({
|
||||
rootPath: join(__dirname, '../../dictation_client', 'build'),
|
||||
rootPath: join(__dirname, '..', 'build'),
|
||||
}),
|
||||
ConfigModule.forRoot({
|
||||
envFilePath: ['.env.local', '.env'],
|
||||
|
||||
@ -29,6 +29,8 @@ async function bootstrap() {
|
||||
SwaggerModule.setup('api', app, document);
|
||||
}
|
||||
|
||||
// TODO:検証のためポートを固定 後で直す
|
||||
// await app.listen(process.env.PORT || 80);
|
||||
await app.listen(process.env.PORT || 80);
|
||||
}
|
||||
bootstrap();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user