Skip to content

Commit b7b42fa

Browse files
committed
오류 로그 수정 시도
1 parent 62f102e commit b7b42fa

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
FROM amazoncorretto:17-alpine
2+
VOLUME /tmp
3+
RUN mkdir -p /app/temp && chmod 777 /app/temp
24
COPY build/libs/team-c-back-0.0.1-SNAPSHOT.jar app.jar
3-
ENTRYPOINT ["java", "-jar", "app.jar"]
5+
ENTRYPOINT ["java", "-Djava.io.tmpdir=/app/temp", "-jar", "app.jar"]

src/main/resources/application.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ spring:
2626

2727
servlet:
2828
multipart:
29+
location: /app/temp
2930
max-file-size: 5MB
3031
max-request-size: 50MB
3132

0 commit comments

Comments
 (0)