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