diff --git a/Dockerfile b/Dockerfile index 85fca30..8f5f3bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,9 @@ RUN apt update && \ apt install -y apt apt-utils dnsutils sudo && \ apt upgrade -y && \ apt install -y dante-server iproute2 iptables nano curl wget tini && \ - apt autoremove --purge -y && apt clean -y && rm -rf /tmp/* && \ - chmod 755 /*.sh + apt autoremove --purge -y && apt clean -y && rm -rf /tmp/* + +ADD danted.conf /etc/danted.conf EXPOSE 1080 diff --git a/docker-compose.yaml b/docker-compose.yaml index 8aa4f09..b44740a 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,15 +1,10 @@ --- version: "3.9" services: - tubuntu: - build: - context: . - dockerfile: Dockerfile - image: registry.ghostklart.com/dtibragimov/danted-docker - container_name: danted - hostname: danted - volumes: - - ./danted.conf:/etc/danted.conf + dante: + image: registry.ghostklart.com/dtibragimov/socks-proxy + container_name: dante + hostname: dante env_file: - danted.env ports: