dbgate/docker/Dockerfile

20 lines
349 B
Docker
Raw Normal View History

FROM node:14-bullseye
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 \
unixodbc \
2022-04-21 16:59:07 +00:00
&& 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"]