2022-02-17 07:57:48 +00:00
|
|
|
FROM node:14
|
2020-03-15 08:35:34 +00:00
|
|
|
|
2022-04-21 16:59:07 +00:00
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
iputils-ping \
|
|
|
|
iproute2 \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2020-03-15 20:10:38 +00:00
|
|
|
WORKDIR /home/dbgate-docker
|
2020-03-15 08:35:34 +00:00
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
2022-04-21 16:59:07 +00:00
|
|
|
RUN ["chmod", "+x", "/home/dbgate-docker/entrypoint.sh"]
|
|
|
|
|
2020-03-15 20:10:38 +00:00
|
|
|
WORKDIR /home/dbgate-docker
|
|
|
|
EXPOSE 3000
|
2022-05-17 19:05:48 +00:00
|
|
|
VOLUME /root/.dbgate
|
2022-04-21 16:59:07 +00:00
|
|
|
|
|
|
|
CMD ["/home/dbgate-docker/entrypoint.sh"]
|