nuevos cuestionarios de programa y alumno, sql de update, falta revisar el proceso de servicio para actualizar el get de los id cuestionarios

This commit is contained in:
Your Name
2025-01-22 11:24:19 -06:00
parent 2fc5c1f5fa
commit bea8a7b266
25 changed files with 3114 additions and 2156 deletions
+25
View File
@@ -0,0 +1,25 @@
# Base image
FROM node:16-alpine
# Install build tools and Python
RUN apk add --no-cache python3 make g++ && \
python3 -m ensurepip && \
pip3 install --no-cache --upgrade pip
# Set working directory
WORKDIR /app
# Copy package.json and package-lock.json
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of the application code
COPY . .
# Expose the port the app runs on
EXPOSE 3000
# Command to run the application
CMD ["npm", "run", "dev"]
+18
View File
@@ -0,0 +1,18 @@
{
"name": "Node.js API Dev Container",
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"forwardPorts": [3000],
"settings": {
"terminal.integrated.defaultProfile.linux": "bash"
},
"extensions": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
],
"postCreateCommand": "npm install",
"remoteUser": "node"
}