mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
updated Dockerfile
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM node:12
|
||||
FROM node:12 AS build
|
||||
|
||||
ADD . /app
|
||||
WORKDIR /app
|
||||
@@ -6,3 +6,8 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user