ACI-Rental / ACI-Rental/front-end

Docker container cannot be build

Aperta
#40 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Build issue enhancement good first issue
Lingua principale
TypeScript
Stelle
0
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Container creation fails during step :
RUN npm run build -- --prod

Investigation shows this is caused because of bad practice to use :latest in 'Dockerfile' configuration.
There seems to be a compatitiy issue with the latest node release. Using a specific version like e.g. node:14 solves the issue

Quick solution to be taken up: Make Node version specific in Dockerfile
Solution to consider: Integrate latest node release. Investigate option

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.