mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 03:16:01 +00:00
22 lines
414 B
Docker
22 lines
414 B
Docker
FROM node:22
|
|
|
|
LABEL org.opencontainers.image.source="https://github.com/dbgate/dbgate"
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
iputils-ping \
|
|
iproute2 \
|
|
unixodbc \
|
|
&& 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
|
|
|
|
CMD ["/home/dbgate-docker/entrypoint.sh"]
|