Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -16
Dockerfile
CHANGED
|
@@ -1,18 +1,8 @@
|
|
| 1 |
-
|
| 2 |
-
FROM openlistteam/openlist:latest
|
| 3 |
|
| 4 |
-
RUN
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
ENV PUID=0
|
| 9 |
-
ENV PGID=0
|
| 10 |
-
ENV UMASK=022
|
| 11 |
-
ENV TZ=Asia/Shanghai
|
| 12 |
-
|
| 13 |
-
# 声明数据卷(容器内部路径)
|
| 14 |
-
VOLUME /opt/openlist/data
|
| 15 |
-
|
| 16 |
-
# 暴露容器端口(非主机端口映射)
|
| 17 |
-
EXPOSE 5244
|
| 18 |
|
|
|
|
|
|
| 1 |
+
FROM ubuntu:22.04
|
|
|
|
| 2 |
|
| 3 |
+
RUN curl -fsSL https://github.com/OpenListTeam/OpenList-APT/releases/latest/download/install-apt.sh | bash
|
| 4 |
+
RUN apt-get update \
|
| 5 |
+
&& sudo apt install openlist -y
|
| 6 |
+
RUN openlist
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
+
EXPOSE 5244
|