This commit is contained in:
Rizky 2024-01-21 17:28:34 +07:00
parent a781eb9856
commit 94584db627
1 changed files with 1 additions and 6 deletions

View File

@ -2,13 +2,8 @@ FROM oven/bun:1.0.18-debian as base
WORKDIR /app/prasi/repo
RUN apt-get update
RUN apt-get install git curl gnupg zip unzip -yq
RUN git reset --hard
RUN git pull
RUN bun install
RUN bun run build
RUN apt-get install nodejs git curl gnupg zip unzip -yq
USER bun
EXPOSE 4550/tcp
CMD [ "bun", "run", "prod" ]