Skip to content

docker_install

谦君 edited this page Sep 10, 2024 · 11 revisions

Docker Build:

docker build -t setube/vue-xiuxiangame -f Dockerfile .

Docker Run:

docker run -p 8080:8080 setube/vue-xiuxiangame

Docker Image Pull (From TencentCloud)

docker pull setube/vue-xiuxiangame

RUN:

docker run -p 8080:8080 setube/vue-xiuxiangame

Docker Compose (Example)

version: '3.9'
services:
    vue-xiuxiangame:
        image: vue-xiuxiangame
        # You can also change it to setube/vue-xiuxiangame
        ports:
            - '8080:8080'
        container_name: xiuxian
        tty: true
        stdin_open: true

Tip: When using NGINX as a reverse proxy, please note that the request address is localhost or 127.0.0.1

Clone this wiki locally