orangecoding / fredy

:heart: Fredy - [F]ind [R]eal [E]states [D]amn Eas[y] - Fredy will constantly search for new listings on sites like Immoscout or Immowelt and send new results to you, so that you can focus on more important things in life ;)
http://www.orange-coding.net
MIT License
231 stars 58 forks source link

Docker build failed: The command '/bin/sh -c npm run prod' returned a non-zero code: 2 #17

Closed MahatmaX closed 3 years ago

MahatmaX commented 3 years ago

Hi, I was trying to build fredy using 'docker-compose up' and the build failed in "Step 12/15 : RUN npm run prod".

Log output attached (only for step 12, all previous steps completed)

fredybuild.log

Docker version in use:

Client: Version: 18.09.8 API version: 1.39 Go version: go1.11 Git commit: bfed4f5 Built: Fri Mar 13 06:46:11 2020 OS/Arch: linux/amd64 Experimental: false

orangecoding commented 3 years ago

@MahatmaX hi. I've pushed some fixes. It should work now. Please use docker-compose and tell me how it goes. Locally it works for me, sorry for the inconvenience.

MahatmaX commented 3 years ago

docker-compose now works. Fredy is up and running :-)

Thanks a lot!