Spaces:
Building
Building
Update Dockerfile
#1
by
OpendAI
- opened
- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM
|
2 |
|
3 |
RUN apk add --no-cache pcre2
|
4 |
|
@@ -16,8 +16,8 @@ RUN mkdir -p /var/log/nginx && \
|
|
16 |
|
17 |
WORKDIR /data
|
18 |
|
19 |
-
EXPOSE
|
20 |
|
21 |
RUN chmod 777 -R /data
|
22 |
|
23 |
-
ENTRYPOINT ["
|
|
|
1 |
+
FROM vinlic/doubao-free-api:latest
|
2 |
|
3 |
RUN apk add --no-cache pcre2
|
4 |
|
|
|
16 |
|
17 |
WORKDIR /data
|
18 |
|
19 |
+
EXPOSE 8080
|
20 |
|
21 |
RUN chmod 777 -R /data
|
22 |
|
23 |
+
ENTRYPOINT ["nginx", "-g", "daemon off;"]
|