1
0
mirror of synced 2026-01-07 09:05:45 -05:00
Files
airbyte/airbyte-server/Dockerfile
Jared Rhizor 066db10d28 allow publishing airbyte-server to local maven repo (#4717)
* 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>
2021-07-13 16:15:31 -07:00

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}"]