Skip to content

Commit c5778d6

Browse files
build: add mkdir command to Dockerfile
this added folder are going to store the uploaded book covers
1 parent 9f6f610 commit c5778d6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ RUN mvn clean package -DskipTests
66

77
FROM eclipse-temurin:21-jre-alpine-3.23
88
WORKDIR /app
9+
RUN mkdir -p /app/uploads
910
COPY --from=build /app/target/*.jar app.jar
1011
EXPOSE 8080
1112
ENTRYPOINT ["java", "-jar", "app.jar"]

0 commit comments

Comments
 (0)