Skip to content

Docker file 형식 수정 시도#23

Open
GumaLee wants to merge 2 commits intodevfrom
feat/github-action
Open

Docker file 형식 수정 시도#23
GumaLee wants to merge 2 commits intodevfrom
feat/github-action

Conversation

@GumaLee
Copy link
Contributor

@GumaLee GumaLee commented Apr 11, 2024

Base image

FROM amazoncorretto:17-alpine

Set working directory

WORKDIR /app

Copy JAR file to the container

COPY build/libs/ /app/

Define entrypoint

ENTRYPOINT ["java", "-jar", "app.jar"]

명시적으로 위치 지정해서 시도

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant