How to deploy by docker as selfhost? #54
-
|
I want to deploy the 3d explorer in a selfhost server by docker, how to do? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
Assuming you are already familiar with docker, this is a static page that can be deployed via nginx. The contents of the Dockerfile file in the project root directory are as follows: |
Beta Was this translation helpful? Give feedback.
-
|
In the last line of this Dockerfile, I changed /app/build to /app/dist and that works for me. |
Beta Was this translation helpful? Give feedback.
-
|
Did not build image successfully, both /app/build and /app/dist can support docker image for deployment? |
Beta Was this translation helpful? Give feedback.
-
|
I've revised the previous comment; it should be okay now. |
Beta Was this translation helpful? Give feedback.

Assuming you are already familiar with docker, this is a static page that can be deployed via nginx. The contents of the Dockerfile file in the project root directory are as follows: