Eject from preact-cli

This commit is contained in:
2020-04-22 22:07:52 +02:00
parent b0339d2ce0
commit 5f0cad970e
52 changed files with 2276 additions and 13925 deletions

View File

@ -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