Skip to content

Commit f373c37

Browse files
committed
first commit
0 parents  commit f373c37

32 files changed

+14114
-0
lines changed

.gitignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# .gitignore
2+
3+
node_modules/
4+
.DS_Store
5+
6+
/frontend/build/
7+
8+
/backend/node_modules/
9+
/backend/dist/
10+
11+
backend-api.tar

backend/Dockerfile

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Usa una imagen oficial de Node.js con la versión 14
2+
FROM node:14
3+
4+
WORKDIR /usr/src/app
5+
6+
# Copia los archivos de la aplicación al contenedor
7+
COPY package*.json ./
8+
COPY src/ ./src/
9+
10+
# Instala las dependencias
11+
RUN npm install
12+
13+
# Expone el puerto en el que la aplicación se ejecuta
14+
EXPOSE 5000
15+
16+
# Comando para ejecutar la aplicación
17+
CMD ["npm", "run", "start"]

backend/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Full-Stack-JS---Code-Challenge

backend/build-docker.txt

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#Build Command
2+
cd backend && docker build -t backend-api .
3+
4+
5+
#Save Image
6+
docker save -o backend-api.tar backend-api
7+
8+
9+
#Load Image
10+
docker load -i backend-api.tar

0 commit comments

Comments
 (0)