From 854c64fb9a83ceebc53f987fd04c88948042d1f9 Mon Sep 17 00:00:00 2001 From: Alexander Rudenko Date: Sun, 15 Dec 2024 16:38:33 +0300 Subject: [PATCH] port 80 -> 8000 --- dockerfile | 2 +- server/server.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerfile b/dockerfile index 0cc166d..b307cc8 100644 --- a/dockerfile +++ b/dockerfile @@ -16,7 +16,7 @@ COPY . . RUN npm run build # Открываем порт 80 -EXPOSE 800 +EXPOSE 8000 # Команда для запуска приложения CMD ["npm", "start"] \ No newline at end of file diff --git a/server/server.js b/server/server.js index 8f8e923..b75f65b 100644 --- a/server/server.js +++ b/server/server.js @@ -6,7 +6,7 @@ const path = require('path'); const cors = require('cors'); const app = express(); -const PORT = 800; +const PORT = 8000; app.use(express.static(path.resolve(__dirname, '..', 'public'))); app.use(express.static(path.resolve(__dirname, '..', 'node_modules')));