mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
14 lines
198 B
Docker
14 lines
198 B
Docker
FROM node:12 AS build
|
|
|
|
ADD . /app
|
|
WORKDIR /app
|
|
RUN rm /app/.npmrc
|
|
|
|
# install frontend
|
|
RUN yarn install && yarn run build:docker
|
|
|
|
FROM alpine:3.14
|
|
|
|
# copy files
|
|
COPY --from=build /app/dist /app/dist
|