Skip to content

Commit

Permalink
Removed debug stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtisassad committed Oct 2, 2024
1 parent 233e8fa commit 0d9c31d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
9 changes: 0 additions & 9 deletions libs/model/src/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@ import { buildDb } from './models';

const log = logger(import.meta);

console.log(
'==== running in mode',
config.NODE_ENV,
config.DB.URI,
config.DB.NO_SSL,
);

console.log(
'dialect options are',
config.NODE_ENV !== 'production' || config.DB.NO_SSL
Expand Down Expand Up @@ -41,6 +34,4 @@ export const sequelize = new Sequelize(config.DB.URI, {
},
});

console.log('====Finished database setup');

export const models = buildDb(sequelize);
2 changes: 0 additions & 2 deletions packages/commonwealth/deploy/dockerfiles/Dockerfile.web
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
FROM commonwealth
RUN apt-get update && \
apt-get install -y vim
CMD NODE_ENV=production ./datadog-entrypoint.sh node --import=extensionless/register --enable-source-maps ./build/server.js

0 comments on commit 0d9c31d

Please sign in to comment.