This commit is contained in:
Rizky 2024-01-21 17:12:39 +07:00
parent f31703baee
commit a781eb9856
1 changed files with 5 additions and 2 deletions

View File

@ -1,10 +1,13 @@
FROM oven/bun:1.0.18-debian as base
WORKDIR /app/prasi/repo
RUN mkdir -p /app/prasi/repo
RUN apt-get update
RUN apt-get install git curl gnupg zip unzip -yq
RUN chown -R bun:bun /app/prasi
RUN git reset --hard
RUN git pull
RUN bun install
RUN bun run build
USER bun
EXPOSE 4550/tcp