Open mickey3721 opened 4 months ago
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:
FROM node:alpine AS builder
WORKDIR '/app'
COPY package.json .
RUN npm install
COPY . .
RUN npm run build
FROM nginx:alpine
COPY --from=builder /app/build /usr/share/nginx/html
I want to deploy the 3d explorer in a selfhost server by docker, how to do?