forked from saxenasanket/sso-rbac-auth-system
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test commit for the github actions workflows
- Loading branch information
Showing
3 changed files
with
3 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,13 @@ | ||
# Usa la imagen oficial de Node.js como base | ||
FROM node:16 | ||
FROM node:14 | ||
|
||
# Establece el directorio de trabajo en el contenedor | ||
WORKDIR /app | ||
|
||
# Copia el package.json y el package-lock.json (si existe) | ||
COPY package*.json ./ | ||
|
||
# Instala las dependencias del proyecto | ||
RUN npm install | ||
|
||
# Copia el resto de los archivos del proyecto | ||
COPY . . | ||
|
||
# Expone el puerto en el que la aplicación se ejecutará | ||
EXPOSE 3002 | ||
|
||
# Define el comando para ejecutar la aplicación | ||
CMD ["node", "app.js"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,13 @@ | ||
# Usa la imagen oficial de Node.js como base | ||
FROM node:16 | ||
FROM node:14 | ||
|
||
# Establece el directorio de trabajo en el contenedor | ||
WORKDIR /app | ||
|
||
# Copia el package.json y el package-lock.json (si existe) | ||
COPY package*.json ./ | ||
|
||
# Instala las dependencias del proyecto | ||
RUN npm install | ||
|
||
# Copia el resto de los archivos del proyecto | ||
COPY . . | ||
|
||
# Expone el puerto en el que la aplicación se ejecutará | ||
EXPOSE 3002 | ||
|
||
# Define el comando para ejecutar la aplicación | ||
CMD ["node", "app.js"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,13 @@ | ||
# Usa la imagen oficial de Node.js como base | ||
FROM node:16 | ||
FROM node:14 | ||
|
||
# Establece el directorio de trabajo en el contenedor | ||
WORKDIR /app | ||
|
||
# Copia el package.json y el package-lock.json (si existe) | ||
COPY package*.json ./ | ||
|
||
# Instala las dependencias del proyecto | ||
RUN npm install | ||
|
||
# Copia el resto de los archivos del proyecto | ||
COPY . . | ||
|
||
# Expone el puerto en el que la aplicación se ejecutará | ||
EXPOSE 3002 | ||
|
||
# Define el comando para ejecutar la aplicación | ||
CMD ["node", "app.js"] |