Skip to content
Snippets Groups Projects
Commit ff29f7ba authored by 찬주 이's avatar 찬주 이
Browse files

Dockerfile add & bug fix

parent b8b298ab
Branches main
No related tags found
No related merge requests found
FROM openjdk:17-jdk
WORKDIR /app
COPY mvnw .
COPY .mvn .mvn
RUN chmod +x mvnw
COPY pom.xml .
RUN ./mvnw dependency:go-offline -B
COPY src src
RUN ./mvnw package -DskipTests
ENTRYPOINT ["java", "-jar", "target/myspringweb-0.0.1-SNAPSHOT.jar"]
Source diff could not be displayed: it is too large. Options to address this: view the blob.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment