This commit is contained in:
Rizky 2024-01-21 17:10:07 +07:00
parent 3ae0488706
commit 03d926711e
1 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,5 @@
FROM oven/bun:1.0.18-debian as base
WORKDIR /app/docker
WORKDIR /app/prasi/repo
RUN mkdir -p /app/prasi/repo
RUN apt-get update
@ -7,7 +7,6 @@ RUN apt-get install git curl gnupg zip unzip -yq
RUN chown -R bun:bun /app/prasi
COPY docker.ts docker.ts
USER bun
EXPOSE 3000/tcp
EXPOSE 4550/tcp
CMD [ "bun", "run", "docker.ts" ]
CMD [ "bun", "run", "prod" ]