Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -26,13 +26,13 @@ RUN apk update \
|
|
26 |
&& apk add --no-cache ca-certificates tzdata \
|
27 |
&& update-ca-certificates 2>/dev/null || true
|
28 |
|
29 |
-
WORKDIR /
|
30 |
|
31 |
-
COPY --from=builder2 /build/one-api
|
32 |
COPY Caddyfile ./Caddyfile
|
33 |
|
34 |
-
RUN chmod 777 -R /
|
35 |
-
RUN touch /
|
36 |
|
37 |
EXPOSE 3001
|
38 |
|
|
|
26 |
&& apk add --no-cache ca-certificates tzdata \
|
27 |
&& update-ca-certificates 2>/dev/null || true
|
28 |
|
29 |
+
WORKDIR /app
|
30 |
|
31 |
+
COPY --from=builder2 /build/one-api ./
|
32 |
COPY Caddyfile ./Caddyfile
|
33 |
|
34 |
+
RUN chmod 777 -R /app
|
35 |
+
RUN touch /app/caddy.log && chmod 777 -R /app/caddy.log
|
36 |
|
37 |
EXPOSE 3001
|
38 |
|