dockerhost name support

This commit is contained in:
Jan Prochazka
2022-04-21 18:59:07 +02:00
parent 66da21804b
commit e5bbf5eca3
3 changed files with 28 additions and 2 deletions

View File

@@ -1,10 +1,18 @@
FROM node:14
RUN apt-get update && apt-get install -y \
iputils-ping \
iproute2 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /home/dbgate-docker
COPY . .
RUN ["chmod", "+x", "/home/dbgate-docker/entrypoint.sh"]
WORKDIR /home/dbgate-docker
EXPOSE 3000
VOLUME /root/dbgate-data
CMD node bundle.js
CMD ["/home/dbgate-docker/entrypoint.sh"]