Initial version (#1)
Co-authored-by: Julien Valverdé <julien.valverde@mailo.com> Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM oven/bun:1.2.22 AS bun
|
||||
FROM node:22.19.0-trixie-slim
|
||||
COPY --from=bun /usr/local/bin/bun \
|
||||
/usr/local/bin/bunx \
|
||||
/usr/local/bin/
|
||||
WORKDIR /app
|
||||
COPY ./ ./
|
||||
RUN bun install --frozen-lockfile && \
|
||||
bun lint:tsc && \
|
||||
bun --cwd=./packages/server bun:build && \
|
||||
bun --cwd=./packages/server node:build && \
|
||||
bun --cwd=./packages/webapp run build && \
|
||||
bun clean:cache && \
|
||||
bun clean:modules && \
|
||||
bun install --frozen-lockfile --production
|
||||
Reference in New Issue
Block a user