Pārlūkot izejas kodu

feat:添加dockerignore文件

zhaohaipeng 1 nedēļu atpakaļ
vecāks
revīzija
e7afd9b489
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      docker-compose.yml

+ 3 - 1
docker-compose.yml

@@ -3,7 +3,7 @@ services:
     build:
       context: .
       dockerfile: Dockerfile
-    image: sorawm_server:prod
+    image: sorawm_server::${IMAGE_TAG:-latest}
     container_name: sorawm_server
     working_dir: /app
     ports:
@@ -11,4 +11,6 @@ services:
       - "8503:8503"
     volumes:
       - .:/app
+    environment:
+      - UV_LINK_MODE=copy
     command: /app/sorawm_start.sh