Skip to content

Commit

Permalink
expose to 8081
Browse files Browse the repository at this point in the history
  • Loading branch information
Administrator committed Dec 11, 2024
1 parent 46a32ef commit c5bbc6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 7 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
FROM amazoncorretto:17
# Use a base image with Java and Gradle
FROM openjdk:17-slim

WORKDIR /app/
# Set the working directory
WORKDIR /app

# Copy the project files
COPY . .

RUN chmod +x ./gradlew

EXPOSE 8081

ENTRYPOINT [ "./gradlew", "bootRun", "--continuous", "--args=--server.port=8081" ]
2 changes: 0 additions & 2 deletions dev-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,3 @@ services:
restart: "unless-stopped"
depends_on:
- db
command: "./gradlew bootRun --continuous --args='--server.port=8081'"

0 comments on commit c5bbc6f

Please sign in to comment.