Add CI to main
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 28s
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 28s
This commit is contained in:
parent
05a42f6414
commit
1e2b53e7a8
@ -2,7 +2,7 @@ name: Build and Push to Registry
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ test ]
|
branches: [ main ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: git.4nkweb.com
|
REGISTRY: git.4nkweb.com
|
@ -15,5 +15,5 @@ RUN adduser -D appuser --uid 10000 && \
|
|||||||
USER appuser
|
USER appuser
|
||||||
|
|
||||||
# Configuration du port et démarrag
|
# Configuration du port et démarrag
|
||||||
EXPOSE 3001
|
EXPOSE 8080
|
||||||
CMD ["npm", "start"]
|
CMD ["npm", "start"]
|
@ -4,7 +4,7 @@ const fetch = require('node-fetch');
|
|||||||
|
|
||||||
// Initialisation de l'application Express
|
// Initialisation de l'application Express
|
||||||
const app = express();
|
const app = express();
|
||||||
const PORT = process.env.PORT || 3001;
|
const PORT = process.env.PORT || 8080;
|
||||||
|
|
||||||
// Configuration CORS
|
// Configuration CORS
|
||||||
const corsOptions = {
|
const corsOptions = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user