.
This commit is contained in:
parent
0b95cca007
commit
50c9bf4cca
@ -9,14 +9,14 @@ WORKDIR /api
|
|||||||
# Copiar los archivos de dependencias
|
# Copiar los archivos de dependencias
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
|
|
||||||
RUN ls -la ./
|
|
||||||
|
|
||||||
# Instalar dependencias
|
# Instalar dependencias
|
||||||
RUN yarn install
|
RUN yarn install
|
||||||
|
|
||||||
# Copiar el resto del código de la aplicación
|
# Copiar el resto del código de la aplicación
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
RUN ls -la ./
|
||||||
|
|
||||||
# Ejecutar el build
|
# Ejecutar el build
|
||||||
# Si hay un error, mostrarlo en detalle.
|
# Si hay un error, mostrarlo en detalle.
|
||||||
RUN yarn run build || { echo 'Error during build'; exit 1; }
|
RUN yarn run build || { echo 'Error during build'; exit 1; }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user