make listener port in Dockerfile configurable

This commit is contained in:
ducklet 2023-03-17 23:17:28 +01:00
parent 9fb24741a1
commit c2a9cfecf1
2 changed files with 12 additions and 2 deletions

View file

@ -19,7 +19,10 @@ USER 10000:10001
COPY . ./
ENV UNWIND_DATA="/data"
VOLUME ["/data"]
VOLUME $UNWIND_DATA
ENV UNWIND_PORT=8097
EXPOSE $UNWIND_PORT
ENTRYPOINT ["/var/app/run"]
CMD ["server"]