Could you please try using absolute paths for Entities and Migrations?
import { DataSource } from "typeorm";
import * as path from "path";
export default new DataSource({
type: "postgres",
host: process.env.POSTGRES_HOSTNAME,
port: parseInt(process.env.POSTGRES_PORT),
username: process.env.POSTGRES_USERNAME,
password: process.env.POSTGRES_PASSWORD,
database: process.env.POSTGRES_CONTENT_DATABASE,
synchronize: false,
logging: true,
entities: [path.join(__dirname, "../entity/content/*.{ts,js}")],
migrations: [path.join(__dirname, "../migrations/content/*.{ts,js}")],
});