This commit is contained in:
David Arranz 2024-09-08 19:11:59 +02:00
parent 85dbf5773d
commit eb0ca93c29

View File

@ -28,7 +28,7 @@ ARG CACHEBUST=1
# Si hay un error, mostrarlo en detalle. # Si hay un error, mostrarlo en detalle.
RUN cd ./server && yarn run build || { echo 'Error during build'; exit 1; } RUN cd ./server && yarn run build || { echo 'Error during build'; exit 1; }
CMD pwd && ls -la #CMD pwd && ls -la
# FINAL STAGE # FINAL STAGE
#FROM node:lts-iron AS prod #FROM node:lts-iron AS prod
@ -39,7 +39,7 @@ CMD pwd && ls -la
#COPY --from=builder /api/dist ./dist #COPY --from=builder /api/dist ./dist
# Exponer el puerto que la API usa # Exponer el puerto que la API usa
#EXPOSE 3000 EXPOSE 3001
# Comando para correr la aplicación # Comando para correr la aplicación
#CMD ["yarn", "run", "start"] CMD ["yarn", "run", "start"]