Skip to content

Commit

Permalink
Merge pull request #463 from SWM-NM/dev
Browse files Browse the repository at this point in the history
[FIX] 파일 위치 오류 수정
  • Loading branch information
aj4941 authored Oct 17, 2023
2 parents ff131ea + 8d6f36a commit a9ac8f3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ FROM openjdk:17-oracle
ARG JAR_FILE=build/libs/*.jar
COPY ${JAR_FILE} app.jar

ENTRYPOINT ["java","-jar","/app.jar"]
COPY src/resources/codes/temp.cpp /codes/temp.cpp
COPY src/resources/codes/temp.py /codes/temp.py
COPY src/resources/codes/temp.java /codes/temp.java

ENTRYPOINT ["java","-jar","/app.jar"]
11 changes: 0 additions & 11 deletions Main.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ public String generateKey(Tests test, int problemNumber, String language) {
@PostConstruct
public void initTempCodeInitializer() {
languages = List.of("Python", "Cpp", "Java");
String pythonCode = readCodeFromFile("src/main/resources/codes/temp.py");
String cppCode = readCodeFromFile("src/main/resources/codes/temp.cpp");
String javaCode = readCodeFromFile("src/main/resources/codes/temp.java");
String pythonCode = readCodeFromFile("codes/temp.py");
String cppCode = readCodeFromFile("codes/temp.cpp");
String javaCode = readCodeFromFile("codes/Main.java");
codeLists = List.of(pythonCode, cppCode, javaCode);
}

Expand Down

0 comments on commit a9ac8f3

Please sign in to comment.