Создал контейнер
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM oven/bun:alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
RUN bun install --frozen-lockfile
|
||||
RUN bun run build
|
||||
RUN rm -rf node_modules
|
||||
RUN bun install --production --frozen-lockfile
|
||||
|
||||
CMD ["bun", "run", "server.ts"]
|
||||
Reference in New Issue
Block a user