Spaces:
Paused
Paused
Commit ·
a929e85
1
Parent(s): 804790b
Update Dockerfile
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
|
@@ -34,20 +34,20 @@ RUN LATEST_XUI_URL=$(curl -sL "https://api.github.com/repos/MHSanaei/3x-ui/relea
|
|
| 34 |
mkdir -p /opt/x-ui && \
|
| 35 |
tar -zxvf /tmp/x-ui.tar.gz -C /opt/x-ui && \
|
| 36 |
rm /tmp/x-ui.tar.gz && \
|
| 37 |
-
chmod +x /opt/x-ui/x-ui/x-ui
|
| 38 |
-
|
| 39 |
|
| 40 |
# Force rebuild by adding a changing ARG
|
| 41 |
-
ARG CACHE_BUSTER=20250903050820
|
| 42 |
|
| 43 |
# Copy the startup script and fix line endings
|
| 44 |
COPY start.sh /usr/local/bin/start.sh
|
| 45 |
RUN dos2unix /usr/local/bin/start.sh
|
| 46 |
RUN chmod +x /usr/local/bin/start.sh
|
| 47 |
|
| 48 |
-
RUN mkdir -p /data /var/log && chmod 777 /data /var/log
|
| 49 |
|
| 50 |
-
RUN mkdir -p /config && touch /config/cron.log && chmod 777 /config /config/cron.log
|
| 51 |
|
| 52 |
# Expose the x-ui port (default is 2053, can be changed in config)
|
| 53 |
EXPOSE 2023
|
|
|
|
| 34 |
mkdir -p /opt/x-ui && \
|
| 35 |
tar -zxvf /tmp/x-ui.tar.gz -C /opt/x-ui && \
|
| 36 |
rm /tmp/x-ui.tar.gz && \
|
| 37 |
+
chmod +x /opt/x-ui/x-ui/x-ui
|
| 38 |
+
# chmod 777 /opt/x-ui
|
| 39 |
|
| 40 |
# Force rebuild by adding a changing ARG
|
| 41 |
+
#ARG CACHE_BUSTER=20250903050820
|
| 42 |
|
| 43 |
# Copy the startup script and fix line endings
|
| 44 |
COPY start.sh /usr/local/bin/start.sh
|
| 45 |
RUN dos2unix /usr/local/bin/start.sh
|
| 46 |
RUN chmod +x /usr/local/bin/start.sh
|
| 47 |
|
| 48 |
+
#RUN mkdir -p /data /var/log && chmod 777 /data /var/log
|
| 49 |
|
| 50 |
+
#RUN mkdir -p /config && touch /config/cron.log && chmod 777 /config /config/cron.log
|
| 51 |
|
| 52 |
# Expose the x-ui port (default is 2053, can be changed in config)
|
| 53 |
EXPOSE 2023
|