14 lines
260 B
Docker
14 lines
260 B
Docker
FROM oven/bun:1-debian AS base
|
|
|
|
RUN apt-get update && apt-get install -y xz-utils
|
|
|
|
WORKDIR /usr/src/app
|
|
ENV NODE_ENV=production
|
|
|
|
VOLUME [ "/appdata", "/backup" ]
|
|
|
|
COPY . .
|
|
RUN bun install --frozen-lockfile --production
|
|
|
|
ENTRYPOINT [ "bun", "run", "index.ts" ]
|