mirror of https://github.com/schollz/cowyo.git
fix dockerfile
This commit is contained in:
parent
d8d3200491
commit
a318863eca
|
@ -7,7 +7,7 @@ RUN make build
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
EXPOSE 8152
|
EXPOSE 8050
|
||||||
COPY --from=builder /go/cowyo/cowyo /cowyo
|
COPY --from=builder /go/cowyo/cowyo /cowyo
|
||||||
ENTRYPOINT ["/cowyo"]
|
ENTRYPOINT ["/cowyo"]
|
||||||
CMD ["--data","/data","--allow-file-uploads","--max-upload-mb","10"]
|
CMD ["--data","/data","--allow-file-uploads","--max-upload-mb","10","--host","0.0.0.0"]
|
||||||
|
|
Loading…
Reference in New Issue