mirror of
https://github.com/marcogll/soul23_placeholder_site_server.git
synced 2026-01-13 13:25:18 +00:00
chore: Update default server and Docker exposed port from 3000 to 3001.
This commit is contained in:
@@ -10,6 +10,6 @@ RUN npm install --omit=dev
|
|||||||
# Copy the rest of the repository
|
# Copy the rest of the repository
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3001
|
||||||
|
|
||||||
CMD ["npm", "start"]
|
CMD ["npm", "start"]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ const path = require("path");
|
|||||||
const { exec } = require("child_process");
|
const { exec } = require("child_process");
|
||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
const port = process.env.PORT || 3000;
|
const port = process.env.PORT || 3001;
|
||||||
const rootDir = path.join(__dirname);
|
const rootDir = path.join(__dirname);
|
||||||
|
|
||||||
// Serve static assets from the project root
|
// Serve static assets from the project root
|
||||||
|
|||||||
Reference in New Issue
Block a user