mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 11:26:00 +00:00
20 lines
364 B
Plaintext
20 lines
364 B
Plaintext
FROM node:18-alpine
|
|
|
|
LABEL org.opencontainers.image.source="https://github.com/dbgate/dbgate"
|
|
|
|
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
|
|
|
|
CMD ["/home/dbgate-docker/entrypoint.sh"]
|