mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
16 lines
212 B
Docker
16 lines
212 B
Docker
FROM node:14 AS build
|
|
|
|
ADD . /app
|
|
WORKDIR /app
|
|
RUN rm /app/.npmrc
|
|
|
|
# install frontend
|
|
RUN npm i -g pnpm@7
|
|
RUN pnpm install
|
|
RUN pnpm run build
|
|
|
|
FROM alpine:3.14
|
|
|
|
# copy files
|
|
COPY --from=build /app/dist /app/dist
|