Skip to content

Commit

Permalink
Add classpath for external prod.edn
Browse files Browse the repository at this point in the history
  • Loading branch information
xdg committed Oct 5, 2024
1 parent c7e4e8d commit cea7525
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ WORKDIR /app
# Copy the built artifact from the builder stage
COPY --from=builder /app/target/netrunner-standalone.jar .

# Set the startup command
CMD ["java", "-jar", "netrunner-standalone.jar"]
# Set the startup command. Custom config with 'prod.edn' can
# be mapped as a volume at runtime to '/app/config/prod.edn'.
CMD ["java", "-cp", "/app/netrunner-standalone.jar:/app/config", "web.core"]

# Expose port to nginx-proxy
EXPOSE 1042

0 comments on commit cea7525

Please sign in to comment.