mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 00:11:48 -06:00
split base build to multiple dockerfiles.
This commit is contained in:
@@ -1 +0,0 @@
|
||||
VUE_APP_SERVER_PORT=3000
|
||||
+7
-1
@@ -1,4 +1,6 @@
|
||||
FROM node:18-bullseye-slim as client
|
||||
ARG BASE_IMAGE=node:18-bullseye-slim
|
||||
FROM $BASE_IMAGE AS client
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
#
|
||||
@@ -10,3 +12,7 @@ RUN npm install
|
||||
# build client
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
#
|
||||
# artifacts from this stage
|
||||
# COPY --from=client /src/dist/ /var/www
|
||||
|
||||
Reference in New Issue
Block a user