Spaces:
Paused
Paused
Commit ·
1837c74
1
Parent(s): 3f506e3
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -31,13 +31,13 @@ COPY ca.crt /etc/chisel/ca.crt
|
|
| 31 |
|
| 32 |
# Copy the startup script
|
| 33 |
COPY start.sh /usr/local/bin/start.sh
|
| 34 |
-
|
| 35 |
# Make the script executable
|
| 36 |
RUN chmod +x /usr/local/bin/start.sh
|
| 37 |
|
| 38 |
# Expose the x-ui port
|
| 39 |
-
|
| 40 |
-
EXPOSE 80-8080
|
| 41 |
|
| 42 |
# Set the entrypoint to our startup script
|
| 43 |
RUN chmod -R 777 /usr/local/x-ui/
|
|
|
|
| 31 |
|
| 32 |
# Copy the startup script
|
| 33 |
COPY start.sh /usr/local/bin/start.sh
|
| 34 |
+
RUN dos2unix /usr/local/bin/start.sh
|
| 35 |
# Make the script executable
|
| 36 |
RUN chmod +x /usr/local/bin/start.sh
|
| 37 |
|
| 38 |
# Expose the x-ui port
|
| 39 |
+
EXPOSE 2023
|
| 40 |
+
#EXPOSE 80-8080
|
| 41 |
|
| 42 |
# Set the entrypoint to our startup script
|
| 43 |
RUN chmod -R 777 /usr/local/x-ui/
|