File size: 335 Bytes
7a5aa35
 
31f50b7
 
cd583ae
 
 
 
7a5aa35
 
1fca37b
 
 
cd583ae
 
7a0c529
 
cd583ae
7a5aa35
1fca37b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM oven/bun:1.0.30

RUN apt-get update && apt-get install -y git

RUN adduser --disabled-password --gecos "" user
USER user
ENV PATH="/home/user/.bun/bin:$PATH"

WORKDIR /app

# Clone the repository
RUN git clone https://github.com/zigistry/database

COPY --chown=user . .

RUN bun install

EXPOSE 7860

CMD ["bun", "./src/index.ts"]