feat: update port configurations for backend and frontend; adjust Dockerfile and docker-compose settings
This commit is contained in:
@@ -7,6 +7,6 @@ RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3001
|
||||
EXPOSE 7001
|
||||
|
||||
CMD ["npm", "start"]
|
@@ -3,7 +3,7 @@ import cors from "cors";
|
||||
import env from "dotenv";
|
||||
env.config();
|
||||
const app = express();
|
||||
const port = 3001;
|
||||
const port = 7001;
|
||||
|
||||
app.use(cors());
|
||||
app.use(express.urlencoded({ extended: true }));
|
||||
|
Reference in New Issue
Block a user