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:
拓海 真壁 2023-02-24 07:53:44 +00:00
parent bfe91c64c9
commit bf7a985b0d
5 changed files with 13 additions and 4 deletions

View File

@ -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",

View File

@ -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>
);

View File

@ -0,0 +1,5 @@
{
"navigationFallback": {
"rewrite": "/index.html"
}
}

View File

@ -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'],

View File

@ -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();