feat(debug): cleanup

This commit is contained in:
2025-12-04 18:06:37 +07:00
parent 558ce9f095
commit 7ac0af1b6b
2 changed files with 0 additions and 6 deletions
-3
View File
@@ -3,7 +3,4 @@ WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD node -e "require('http').get('http://localhost:3000/', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"
CMD ["node", "server.js"]
-3
View File
@@ -2,9 +2,6 @@ import app from './index.js';
const PORT = process.env.PORT || 3000;
console.log('Environment variables:', process.env);
console.log('Attempting to start on port:', PORT);
app.listen(PORT, '0.0.0.0', () => {
console.log(`Server is running on port ${PORT}`);
});