smgc commited on
Commit
accee1b
1 Parent(s): 12a4331

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 /data
30
 
31
- COPY --from=builder2 /build/one-api /
32
  COPY Caddyfile ./Caddyfile
33
 
34
- RUN chmod 777 -R /data
35
- RUN touch /data/caddy.log && chmod 777 -R /data/caddy.log
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