fix up some docker build issues re pathing

This commit is contained in:
iamBadgers committed 2025-06-07 23:55:37 -07:00
1 parent a3ecb70abe
commit 2d81203398
7 files changed
+21 -24

No files matched your search

+1 -14
View File
@@ -1,7 +1,5 @@
// import express from 'express'
import * as grpc from '@grpc/grpc-js'
// import { Character } from './proto/character'
import { initCharacterService } from './character_service'
const port = 8000;
@@ -12,15 +10,4 @@ initCharacterService(app)
app.bindAsync("0.0.0.0:8000", grpc.ServerCredentials.createInsecure(), () => {
console.log("Starting server at 0.0.0.0:8000")
})
// const app = express()
// app.get('/api/person', async (req, res) => {
// res.status(200).send('potato!')
// })
// app.listen(port, async () => {
// console.log(`Express is listening at http://localhost:${port}`)
// return
// })
})
+4 -1
View File
@@ -1,7 +1,10 @@
import * as grpc from '@grpc/grpc-js'
import { Character } from './proto/character'
import { Character, GetCharacterRequest, GetCharacterResponse } from './proto/character'
export function initCharacterService(server: grpc.Server) {
}
function getCharacter(request: GetCharacterRequest): GetCharacterResponse {
return new GetCharacterResponse()
}