Skip to content

Commit

Permalink
[chore] dockerfile 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryeolee committed Oct 13, 2023
1 parent 4d20479 commit 08c6c83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM openjdk:11
ARG JAR_FILE=./build/libs/farmus-user-0.0.1-SNAPSHOT.jar
COPY ${JAR_FILE} app.jar
EXPOSE 8080
ENTRYPOINT ["java","-jar","/app.jar"]
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public String createRereshToken() { // 토큰 생성
public String resolveToken(HttpServletRequest request) {
LOGGER.info("[resolveToken] HTTP 헤더에서 Token 값 추출");

String tokenHeader = request.getHeader("access");
String tokenHeader = request.getHeader("Authentication");

if (tokenHeader != null && tokenHeader.startsWith("Bearer ")) {
return tokenHeader.substring(7);
Expand Down

0 comments on commit 08c6c83

Please sign in to comment.