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

@@ -2,9 +2,16 @@ FROM node:14-alpine
WORKDIR /home/dbgate-docker
RUN apk --no-cache upgrade \
&& apk --no-cache add \
iputils
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"]