rclon commited on
Commit
276ce01
1 Parent(s): 6aaf6eb

Upload 3 files

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. 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 /data/one-api /data/one-api
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
- /data/one-api
5
 
 
1
  #!/bin/sh
2
 
3
  nginx &
4
+ /one-api
5