Skip to content

Commit 57f821e

Browse files
committed
expose new port, reformatting
1 parent a2c8203 commit 57f821e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ RUN apt-get update \
1919
&& apt-get clean \
2020
&& rm -rf /var/lib/apt/lists/*
2121

22+
EXPOSE 5060
23+
2224
COPY clone-data-repo.sh clone-data-repo.sh
2325

2426
# if ssh key is set, clone data repo with the sql scripts for initalization and start postgres afterwards
25-
CMD chmod 700 clone-data-repo.sh && ./clone-data-repo.sh && su postgres -c "/usr/local/bin/docker-entrypoint.sh postgres"
27+
CMD chmod 700 clone-data-repo.sh \
28+
&& ./clone-data-repo.sh \
29+
&& su postgres -c "/usr/local/bin/docker-entrypoint.sh postgres -p ${JDBC_DATABASE_PORT}"

0 commit comments

Comments
 (0)