This commit is contained in:
Rizky 2024-01-21 16:42:45 +07:00
parent 01640f8ecc
commit 13206575cc
1 changed files with 1 additions and 6 deletions

View File

@ -1,12 +1,7 @@
FROM oven/bun:1.0.18-debian as base FROM oven/bun:1.0.18-debian as base
WORKDIR /app/prasi/repo
RUN chown -R bun:bun /app/prasi
RUN apt-get update RUN apt-get update
RUN apt-get install git curl gnupg zip unzip -yq RUN apt-get install git curl gnupg zip unzip -yq
RUN git reset --hard RUN cd /app/prasi/repo && git reset --hard && git pull && RUN bun install && bun build
RUN git pull
RUN bun install
RUN bun build
USER bun USER bun
EXPOSE 4550/tcp EXPOSE 4550/tcp
CMD [ "bun", "run", "prod" ] CMD [ "bun", "run", "prod" ]