File size: 593 Bytes
6ced1a1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d05e81c
 
 
 
 
 
 
 
6ced1a1
 
 
 
 
 
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:22

USER root
RUN apt-get update && apt-get install -y \
    git \
    build-essential \
    python3 \
    pkg-config \
    libssl-dev \
    libcairo2-dev \
    libpango1.0-dev \
    libjpeg-dev \
    libgif-dev \
    librsvg2-dev \
    libsqlite3-dev \
 && rm -rf /var/lib/apt/lists/*

USER node
WORKDIR /home/node/app

# Clone repo
RUN git clone $REPO .

RUN npm install \
 && npm install cross-blob \
 && npm i --save-dev @types/busboy \
 && npm i --save-dev @types/uuid \
 && npm i --save-dev @types/unidecode

#COPY --chown=node:node .env .env

EXPOSE 8000

CMD ["npm", "start"]