.
This commit is contained in:
parent
2ad5be81af
commit
aac59891cf
@ -65,8 +65,6 @@ COPY --from=builder /api/dist .
|
|||||||
COPY --from=builder /api/server/package.json .
|
COPY --from=builder /api/server/package.json .
|
||||||
COPY --from=builder /api/server/tsconfig.production.json ./tsconfig.json
|
COPY --from=builder /api/server/tsconfig.production.json ./tsconfig.json
|
||||||
|
|
||||||
RUN ls -la ./uploads
|
|
||||||
|
|
||||||
# Instalar sólo las dependencias de producción en el servidor
|
# Instalar sólo las dependencias de producción en el servidor
|
||||||
RUN yarn install --production
|
RUN yarn install --production
|
||||||
|
|
||||||
@ -74,5 +72,6 @@ RUN yarn install --production
|
|||||||
EXPOSE 3001
|
EXPOSE 3001
|
||||||
|
|
||||||
# Comando para correr la aplicación
|
# Comando para correr la aplicación
|
||||||
CMD node -r ts-node/register/transpile-only -r tsconfig-paths/register ./server/src/index.js
|
CMD ls -la ./uploads
|
||||||
|
#CMD node -r ts-node/register/transpile-only -r tsconfig-paths/register ./server/src/index.js
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user