Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -7
Dockerfile
CHANGED
|
@@ -1,11 +1,5 @@
|
|
| 1 |
-
# 构建阶段
|
| 2 |
-
FROM openlist:latest as builder
|
| 3 |
-
WORKDIR /build
|
| 4 |
-
COPY . .
|
| 5 |
-
RUN make build
|
| 6 |
-
|
| 7 |
# 运行阶段
|
| 8 |
-
FROM openlist
|
| 9 |
COPY --from=builder /build/output /app
|
| 10 |
WORKDIR /app
|
| 11 |
RUN useradd -r -u 1001 -g root appuser
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# 运行阶段
|
| 2 |
+
FROM openlistteam/openlist
|
| 3 |
COPY --from=builder /build/output /app
|
| 4 |
WORKDIR /app
|
| 5 |
RUN useradd -r -u 1001 -g root appuser
|