mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2025-12-06 04:43:41 -05:00
major refactoring + docker progress
This commit is contained in:
parent
ecb8a80f8b
commit
e75f8c944a
35 changed files with 227 additions and 104 deletions
16
tiling-frontend/Dockerfile
Normal file
16
tiling-frontend/Dockerfile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
FROM docker.io/oven/bun:slim AS base
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
FROM base AS install
|
||||
RUN mkdir -p /temp/dev
|
||||
COPY package.json bun.lockb /temp/dev/
|
||||
RUN cd /temp/dev && bun install
|
||||
|
||||
RUN mkdir -p /temp/prod
|
||||
COPY package.json bun.lockb /temp/prod/
|
||||
RUN cd /temp/prod && bun install --production
|
||||
|
||||
FROM base AS release
|
||||
COPY --from=install /temp/dev/node_modules node_modules
|
||||
COPY . .
|
||||
RUN bun --bun run build
|
||||
Loading…
Add table
Add a link
Reference in a new issue