kissgyorgy / redbean-docker

Docker image for redbean from the "scratch" container
https://redbean.dev
MIT License
344 stars 20 forks source link

Deploy multi websites. #5

Open cvenwu opened 1 year ago

cvenwu commented 1 year ago

I have used this docker image to deploy one website. And now i want to deploy another website, but when i typed docker build --build-arg ASSETS_DIR=./static -t yirufeng/resume .,some errors occured.

[root@VM-0-10-centos blog]# docker build --build-arg ASSETS_DIR=./static -t yirufeng/resume .
Sending build context to Docker daemon   2.56kB
Step 1/4 : FROM kissgyorgy/redbean-onbuild as build
# Executing 5 build triggers
 ---> Using cache
 ---> Using cache
 ---> Running in 0a7208db84ba

zip error: Nothing to do! (try: zip -r /redbean.com . -i *)
The command '/bin/sh -c zip -r /redbean.com *' returned a non-zero code: 12
kissgyorgy commented 1 year ago

Auch! Something might be wrong with the build arg maybe? I will look into this

cvenwu commented 1 year ago

Auch! Something might be wrong with the build arg maybe? I will look into this

thanks