mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
Build only the actual frontend for production
This commit is contained in:
@@ -9,7 +9,7 @@ RUN --mount=type=cache,target=/root/.npm \
|
|||||||
|
|
||||||
# 1.2. Build
|
# 1.2. Build
|
||||||
COPY frontend frontend
|
COPY frontend frontend
|
||||||
RUN npm run build
|
RUN npm run build:frontend
|
||||||
|
|
||||||
# 2. Build the static file server
|
# 2. Build the static file server
|
||||||
FROM node:24 AS server
|
FROM node:24 AS server
|
||||||
|
|||||||
Reference in New Issue
Block a user