fix(docker):

This commit is contained in:
2025-12-04 17:44:14 +07:00
parent 2dae27e87e
commit a1a180ef33
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -3,4 +3,5 @@ WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3000
CMD ["node", "server.js"]
+3
View File
@@ -2,6 +2,9 @@ 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}`);
});