Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ WORKDIR /app
# Copy the jar file into the container at /app
COPY target/*.jar app.jar

# Accept build-time arguments for Liquibase context and changelog
ARG SPRING_LIQUIBASE_CONTEXTS
ARG SPRING_LIQUIBASE_CHANGELOG

# Set them as environment variables so Spring Boot can access them
ENV SPRING_LIQUIBASE_CONTEXTS=${SPRING_LIQUIBASE_CONTEXTS}
ENV SPRING_LIQUIBASE_CHANGELOG=${SPRING_LIQUIBASE_CHANGELOG}

# Expose the port the app runs in
EXPOSE 8081
Expand Down