Eject from preact-cli
This commit is contained in:
@ -1,14 +1,15 @@
|
||||
FROM alpine:3.11 AS build
|
||||
|
||||
RUN apk add --no-cache nodejs npm git make
|
||||
|
||||
COPY . /src
|
||||
WORKDIR /src
|
||||
|
||||
RUN apk add --no-cache nodejs npm git
|
||||
RUN npm install && npm run build
|
||||
RUN npm install && make build
|
||||
|
||||
FROM alpine:3.11
|
||||
|
||||
COPY --from=build /src/build /app
|
||||
COPY --from=build /src/dist /app
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
Reference in New Issue
Block a user