* allow publishing airbyte-server to local maven repo * Stub this out so the name that is created is airbyte-server-0.27.1-alpha.jar and not airbyte-server-0.27.1-alpha-all.jar. * Add comments. * see if this fixes build Co-authored-by: Davin Chia <davinchia@gmail.com>
18 lines
425 B
Docker
18 lines
425 B
Docker
FROM openjdk:14.0.2-slim AS server
|
|
|
|
EXPOSE 8000
|
|
|
|
ENV APPLICATION airbyte-server
|
|
|
|
WORKDIR /app
|
|
|
|
COPY build/distributions/${APPLICATION}-0*.tar ${APPLICATION}.tar
|
|
|
|
RUN mkdir latest_seeds
|
|
COPY build/config_init/resources/main/config latest_seeds
|
|
|
|
RUN tar xf ${APPLICATION}.tar --strip-components=1
|
|
|
|
# wait for upstream dependencies to become available before starting server
|
|
ENTRYPOINT ["/bin/bash", "-c", "bin/${APPLICATION}"]
|