mirror of
https://github.com/hsnks100/liveflow.git
synced 2025-09-26 20:21:12 +08:00
Remove comment lines
This commit is contained in:
@@ -6,13 +6,7 @@ RUN apt-get upgrade -y
|
|||||||
RUN apt-get install -y build-essential git pkg-config libunistring-dev libaom-dev libdav1d-dev bzip2 nasm wget yasm ca-certificates
|
RUN apt-get install -y build-essential git pkg-config libunistring-dev libaom-dev libdav1d-dev bzip2 nasm wget yasm ca-certificates
|
||||||
COPY install-ffmpeg.sh /install-ffmpeg.sh
|
COPY install-ffmpeg.sh /install-ffmpeg.sh
|
||||||
RUN chmod +x /install-ffmpeg.sh && /install-ffmpeg.sh
|
RUN chmod +x /install-ffmpeg.sh && /install-ffmpeg.sh
|
||||||
# 로컬에서 테스트하기 위한 workspace container
|
|
||||||
# 1. ffmpeg build를 위한 환경 설정
|
|
||||||
ENV PKG_CONFIG_PATH=/ffmpeg_build/lib/pkgconfig:${PKG_CONFIG_PATH}
|
ENV PKG_CONFIG_PATH=/ffmpeg_build/lib/pkgconfig:${PKG_CONFIG_PATH}
|
||||||
#ENV LD_LIBRARY_PATH=/openh264/lib
|
|
||||||
# Install dependencies
|
|
||||||
|
|
||||||
#COPY --from=build /usr/local/go /usr/local/go
|
|
||||||
ENV PATH="/usr/local/go/bin:${PATH}"
|
ENV PATH="/usr/local/go/bin:${PATH}"
|
||||||
COPY ./ /app
|
COPY ./ /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@@ -25,6 +19,3 @@ RUN cp index.html /app/bin/index.html
|
|||||||
RUN mkdir /app/bin/videos
|
RUN mkdir /app/bin/videos
|
||||||
WORKDIR /app/bin
|
WORKDIR /app/bin
|
||||||
ENTRYPOINT ["/app/bin/liveflow"]
|
ENTRYPOINT ["/app/bin/liveflow"]
|
||||||
|
|
||||||
|
|
||||||
#ENTRYPOINT ["pkg-config", "--cflags", "--libs", "libavcodec", "libavformat", "libavutil", "libswscale"]
|
|
@@ -39,6 +39,9 @@ func SetLevel(ctx context.Context, level logrus.Level) {
|
|||||||
|
|
||||||
func Init() {
|
func Init() {
|
||||||
//logrus.AddHook(&SkipHook{skip: 7})
|
//logrus.AddHook(&SkipHook{skip: 7})
|
||||||
|
logrus.SetFormatter(&logrus.TextFormatter{
|
||||||
|
FullTimestamp: true,
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
func SetFormatter(ctx context.Context, formatter logrus.Formatter) {
|
func SetFormatter(ctx context.Context, formatter logrus.Formatter) {
|
||||||
|
Reference in New Issue
Block a user