This commit is contained in:
2024-09-20 14:31:19 +02:00
parent 466981457d
commit bc39f6b6d6
10 changed files with 129 additions and 65 deletions

16
Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM oven/bun:1 AS base
WORKDIR /usr/src/app
COPY package.json bun.lockb .
#RUN bun install --frozen-lockfile --production
RUN bun install --frozen-lockfile --development
COPY . .
#ENV NODE_ENV=production
ENV NODE_ENV=development
USER bun
EXPOSE 8080/tcp
#ENTRYPOINT [ "bun", "run", "src/index.ts" ]
ENTRYPOINT [ "bun", "run", "dev" ]