This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
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" ]
|
||||
Reference in New Issue
Block a user