Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -36,11 +36,13 @@ RUN make
|
|
36 |
COPY requirements.txt /openconnect/requirements.txt
|
37 |
RUN python -m pip install -r /openconnect/requirements.txt
|
38 |
|
|
|
|
|
39 |
RUN mkdir -p /var/run/vpnc
|
40 |
RUN chmod -R 777 /var/run/vpnc
|
41 |
|
42 |
RUN mkdir -p /dev/net
|
43 |
-
|
44 |
|
45 |
COPY aberconnect.sh /openconnect
|
46 |
RUN chmod +x aberconnect.sh
|
|
|
36 |
COPY requirements.txt /openconnect/requirements.txt
|
37 |
RUN python -m pip install -r /openconnect/requirements.txt
|
38 |
|
39 |
+
USER root
|
40 |
+
|
41 |
RUN mkdir -p /var/run/vpnc
|
42 |
RUN chmod -R 777 /var/run/vpnc
|
43 |
|
44 |
RUN mkdir -p /dev/net
|
45 |
+
RUN chmod -R 777 /dev/net
|
46 |
|
47 |
COPY aberconnect.sh /openconnect
|
48 |
RUN chmod +x aberconnect.sh
|