Add Docker Build Script

This commit is contained in:
copecone committed 2026-03-17 13:40:28 +09:00
1 parent 99fd518ddb
commit 88f72e767f
14 files changed
+77 -17

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import { Component, signal } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import { Switch } from './components/switch/switch';
import { Dropdown, DropdownOption } from './components/dropdown/dropdown';
import { HeaderMenu } from './ui/header-menu/header-menu';
import { HeaderMenu } from './features/header-menu/header-menu';
@Component({
selector: 'app-root',
File renamed without changes.
File renamed without changes.
+9
View File
@@ -0,0 +1,9 @@
import { Component } from '@angular/core';
@Component({
selector: 'settings-popup',
imports: [],
templateUrl: './popup.html',
styleUrl: './popup.scss',
})
export class SettingsPopup {}
-12
View File
@@ -1,12 +0,0 @@
import { Component, input, model, output } from '@angular/core';
import { Dropdown } from '../../components/dropdown/dropdown';
import { Switch } from '../../components/switch/switch';
import { PopupComponent } from '../../components/popup/popup';
@Component({
selector: 'settings-popup',
imports: [PopupComponent, Dropdown, Switch],
templateUrl: './popup.html',
styleUrl: './popup.scss',
})
export class SettingsPopup {}
+5 -3
View File
@@ -50,13 +50,15 @@ app.use((req, res, next) => {
* The server listens on the port defined by the `PORT` environment variable, or defaults to 4000.
*/
if (isMainModule(import.meta.url) || process.env['pm_id']) {
const port = process.env['PORT'] || 4000;
app.listen(port, (error) => {
const port = parseInt(process.env['PORT'] || '4000');
const host = '0.0.0.0';
app.listen(port, host, (error) => {
if (error) {
throw error;
}
console.log(`Node Express server listening on http://localhost:${port}`);
console.log(`Node Express server listening...`);
});
}