Add CI to main
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 28s

This commit is contained in:
Omar Oughriss 2025-06-30 15:19:13 +02:00
parent 05a42f6414
commit 1e2b53e7a8
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ name: Build and Push to Registry
on:
push:
branches: [ test ]
branches: [ main ]
env:
REGISTRY: git.4nkweb.com

View File

@ -15,5 +15,5 @@ RUN adduser -D appuser --uid 10000 && \
USER appuser
# Configuration du port et démarrag
EXPOSE 3001
EXPOSE 8080
CMD ["npm", "start"]

View File

@ -4,7 +4,7 @@ const fetch = require('node-fetch');
// Initialisation de l'application Express
const app = express();
const PORT = process.env.PORT || 3001;
const PORT = process.env.PORT || 8080;
// Configuration CORS
const corsOptions = {