V1_commit_RGC
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
FROM node:18-alpine
|
||||
|
||||
# Install required tools
|
||||
RUN apk add --no-cache curl mysql-client python3 make g++
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files first for better caching
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install --production
|
||||
|
||||
# Copy application code
|
||||
COPY . .
|
||||
|
||||
|
||||
|
||||
# Expose the port
|
||||
EXPOSE 3005
|
||||
|
||||
# Start the server
|
||||
CMD ["node", "server.js"]
|
||||
3078
SuiviREForamteur/suivireforamteur/public/backend/package-lock.json
generated
Normal file
3078
SuiviREForamteur/suivireforamteur/public/backend/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "suivi-evaluations-backend",
|
||||
"version": "1.0.0",
|
||||
"description": "Backend pour authentification Microsoft",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
"start": "node server.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@azure/msal-browser": "^5.1.0",
|
||||
"@azure/msal-node": "^2.6.0",
|
||||
"@azure/msal-react": "^5.0.3",
|
||||
"cors": "^2.8.5",
|
||||
"express": "^4.18.2",
|
||||
"mssql": "^10.0.1"
|
||||
}
|
||||
}
|
||||
1222
SuiviREForamteur/suivireforamteur/public/backend/server.js
Normal file
1222
SuiviREForamteur/suivireforamteur/public/backend/server.js
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user