File size: 500 Bytes
551fb5a
 
 
 
 
 
ccd20a2
551fb5a
 
 
 
 
 
 
bc501c7
594b6bd
551fb5a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM node:20

ENV DEBIAN_FRONTEND=noninteractive

WORKDIR /app

RUN apt-get update \
    && apt-get install -y \
        ffmpeg \
        imagemagick \
        build-essential \
        git \
        libtool \
        automake \
        python3-xyz \
        pip \
        autoconf \
        ca-certificates \
    && rm -rf /var/lib/apt/lists/*

ENV DEBIAN_FRONTEND=

RUN chown -R node:node /app

USER node

# Copy script start.sh
COPY start.sh .


# Expose port
EXPOSE 7860

CMD ["bash", "start.sh"]