Spaces:
Running
Running
Upload 3 files
Browse files- Dockerfile +1 -1
- start.sh +1 -1
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
FROM pengzhile/new-api AS builder
|
2 |
|
3 |
FROM alpine:3.12
|
4 |
-
COPY --from=builder /
|
5 |
RUN apk add --no-cache nginx && \
|
6 |
mkdir -p /data && chmod 777 /data
|
7 |
|
|
|
1 |
FROM pengzhile/new-api AS builder
|
2 |
|
3 |
FROM alpine:3.12
|
4 |
+
COPY --from=builder /one-api /one-api
|
5 |
RUN apk add --no-cache nginx && \
|
6 |
mkdir -p /data && chmod 777 /data
|
7 |
|
start.sh
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
#!/bin/sh
|
2 |
|
3 |
nginx &
|
4 |
-
/
|
5 |
|
|
|
1 |
#!/bin/sh
|
2 |
|
3 |
nginx &
|
4 |
+
/one-api
|
5 |
|