From e44dd5983ca23e81657a4a6b86a2de0a7726fb4a Mon Sep 17 00:00:00 2001 From: Matteo Pietro Dazzi <6383527+ilteoood@users.noreply.github.com> Date: Sun, 6 Sep 2020 00:02:59 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index dea5fc6..e57612d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,15 @@ FROM alpine:latest LABEL maintainer.name="Matteo Pietro Dazzi" \ maintainer.email="matteopietro.dazzi@gmail.com" \ - version="1.0.2" \ + version="1.0.3" \ description="OpenVPN client configured for SurfShark VPN" +WORKDIR /vpn ENV SURFSHARK_USER= ENV SURFSHARK_PASSWORD= ENV SURFSHARK_COUNTRY= ENV SURFSHARK_CITY= ENV CONNECTION_TYPE=tcp HEALTHCHECK --interval=60s --timeout=10s --start-period=30s CMD curl -L 'https://ipinfo.io' -RUN apk add --update --no-cache openvpn wget unzip coreutils curl -WORKDIR /vpn COPY startup.sh . -RUN chmod +x ./startup.sh +RUN apk add --update --no-cache openvpn wget unzip coreutils curl && chmod +x ./startup.sh ENTRYPOINT [ "./startup.sh" ]