Working Docker build 🎉

This commit is contained in:
3wc
2024-03-11 13:25:04 -03:00
parent d84018c787
commit 338224ef6b
5 changed files with 35 additions and 4 deletions

View File

@ -9,7 +9,7 @@ app.get("/", (_, res) => {
});
const PORT = Number(process.env.PAYLOAD_PORT) ?? 3000;
const HOST = process.env.PAYLOAD_ADDRESS ?? 'localhost';
const HOST = process.env.PAYLOAD_HOST ?? 'localhost';
const start = async () => {
// Initialize Payload