Skip to content

Commit

Permalink
Fix the file path and remove a println
Browse files Browse the repository at this point in the history
  • Loading branch information
akatranlp committed Jun 24, 2022
1 parent 9138871 commit 25ce908
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN mkdir -p /app/data && mkdir -p /app/public
WORKDIR /app

VOLUME /app/data
COPY --from=build /home/gradle/src/budget-binder-server/files /app/public/
COPY --from=build /home/gradle/src/budget-binder-server/public /app/public/
COPY --from=build /home/gradle/src/budget-binder-multiplatform-app/build/distributions/ /app/public/
COPY --from=build /home/gradle/src/budget-binder-server/build/libs/*.jar /app/ktor-docker-server.jar

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile_dev
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN mkdir -p /app/data && mkdir -p /app/public
WORKDIR /app

VOLUME /app/data
COPY --from=build /home/gradle/src/budget-binder-server/files /app/public/
COPY --from=build /home/gradle/src/budget-binder-server/public /app/public/
COPY --from=build /home/gradle/src/budget-binder-multiplatform-app/build/distributions/ /app/public/
COPY --from=build /home/gradle/src/budget-binder-server/build/libs/*.jar /app/ktor-docker-server.jar

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,6 @@ class DeleteEntryTests {

@Test
fun testDeleteEntryRepeatNew() = customTestApplicationWithLogin { client ->
println(transaction { EntryEntity.all().toList().map { it.toDto() } })


val id = transaction { EntryEntity.all().first().id.value + 3 }

client.sendAuthenticatedRequest(HttpMethod.Delete, "/entries/$id") { response ->
Expand Down

0 comments on commit 25ce908

Please sign in to comment.