Skip to content

Commit

Permalink
debug: 调试
Browse files Browse the repository at this point in the history
  • Loading branch information
qbhy committed May 25, 2024
1 parent 8fe8354 commit 3a25352
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- dev

jobs:
build:
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ ENV VERSION=2.5
COPY src ./src
#RUN mvn package -e
RUN mvn clean package -DskipTests
RUN apt install -y tree
RUN tree


FROM mcr.microsoft.com/java/jre:8-zulu-alpine
Expand All @@ -16,7 +18,7 @@ ENV VERSION=2.5

WORKDIR /opt/poster

COPY --from=build target/poster-$VERSION.jar /opt/poster/poster.jar
COPY --from=build /app/target/poster-$VERSION.jar /opt/poster/poster.jar
COPY example.application.properties /opt/poster/application.properties

# 创建默认资源文件夹
Expand Down

0 comments on commit 3a25352

Please sign in to comment.