mirror of
https://github.com/YuWanTingbb/unofficial-gpt4.git
synced 2026-01-13 06:05:49 +08:00
Merge branch 'main' of https://github.com/Yanyutin753/GPT4-Copilot
This commit is contained in:
2
.github/workflows/jar-image.yml
vendored
2
.github/workflows/jar-image.yml
vendored
@@ -38,7 +38,7 @@ jobs:
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile/Dockerfile.jar
|
||||
file: ./Dockerfiles/Dockerfile.jar
|
||||
push: true
|
||||
tags: |
|
||||
yangclivia/gpt4-copilot-java:${{ steps.tag_name.outputs.tag }}-jar
|
||||
|
||||
@@ -8,10 +8,7 @@ LABEL maintainer="Yanyutin753"
|
||||
USER root
|
||||
|
||||
# 复制JAR文件到容器的/app目录下
|
||||
COPY /target/gpt-4-copilot-0.0.4.jar /app/app.jar
|
||||
|
||||
# 切换到/app目录
|
||||
WORKDIR /app
|
||||
COPY /target/gpt-4-copilot-0.0.4.jar app.jar
|
||||
|
||||
# 声明服务运行在8081端口
|
||||
EXPOSE 8081
|
||||
|
||||
Reference in New Issue
Block a user