api / Dockerfile
RohanVashisht's picture
Install git in Dockerfile
31f50b7
raw
history blame contribute delete
335 Bytes
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"]