Commit 8a27b0e4 authored by ibuler's avatar ibuler

[Update] 修改docker build

parent bbea8aeb
FROM node as stage-build
ADD . /data
WORKDIR /data
RUN npm i
RUN npm run-script build
FROM nginx:alpine
COPY ./dist /opt/luna/
COPY ./i18n /opt/luna/i18n/
COPY --from=stage-build /data/dist /opt/luna/
COPY --from=state-build /data/luna/i18n /opt/luna/i18n/
COPY nginx.conf /etc/nginx/conf.d/default.conf
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment