This commit is contained in:
Rizky 2024-01-21 13:26:12 +07:00
parent ecd87894a7
commit 4d2f4f486b
1 changed files with 7 additions and 4 deletions

View File

@ -1,8 +1,11 @@
# use the official ubuntu image
FROM oven/bun:1.0.18-debian as base
WORKDIR /usr/src/app
COPY coba.ts coba.ts
WORKDIR /usr/src/prasi
COPY . .
RUN apt-get update
RUN apt-get install -y zip
RUN bun i -g node-gyp-build-optional-packages
USER bun
EXPOSE 4550/tcp
CMD [ "bun", "run", "coba.ts" ]
CMD [ "bun", "run", "prod" ]