This commit is contained in:
Rizky 2024-01-22 01:46:48 +07:00
parent e1a1a57cd4
commit 54a90599b5
1 changed files with 5 additions and 3 deletions

View File

@ -1,8 +1,7 @@
FROM oven/bun:1.0.18-debian as base FROM oven/bun:1.0.18-debian as base
WORKDIR /app/prasi/repo WORKDIR /tmp/repo
COPY . . COPY . /tmp/repo
RUN ls /app/prasi/data
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
@ -18,6 +17,9 @@ RUN bun install
RUN bun run build RUN bun run build
RUN bun run db-pull RUN bun run db-pull
WORKDIR /app/prasi/repo
RUN cp -r /tmp/repo /app/prasi/repo
EXPOSE 4550/tcp EXPOSE 4550/tcp
CMD [ "bun", "run", "prod" ] CMD [ "bun", "run", "prod" ]