mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-13 10:52:28 -04:00
Use watch mode for transcoder
This commit is contained in:
@@ -22,8 +22,6 @@ RUN set -eux; \
|
||||
ENV SSL_CERT_DIR=/etc/ssl/certs
|
||||
RUN update-ca-certificates
|
||||
|
||||
RUN go install github.com/bokwoon95/wgo@latest
|
||||
|
||||
# read target arch from buildx or default to amd64 if using legacy builder.
|
||||
ARG TARGETARCH
|
||||
ENV TARGETARCH=${TARGETARCH:-amd64}
|
||||
@@ -51,5 +49,7 @@ ENV NVIDIA_DRIVER_CAPABILITIES="all"
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 7666
|
||||
CMD ["wgo", "run", "-race", "."]
|
||||
CMD ["go", "run", "-race", "."]
|
||||
|
||||
Reference in New Issue
Block a user