Removing extra dockerfile lines

This commit is contained in:
Dessalines 2021-03-13 23:53:51 -05:00
parent 15e00dc051
commit af641e1f82

View file

@ -7,7 +7,6 @@ RUN cargo install mdbook \
--rev 0982a82 --rev 0982a82
COPY lemmy-docs ./lemmy-docs COPY lemmy-docs ./lemmy-docs
RUN mdbook build lemmy-docs -d ../docs RUN mdbook build lemmy-docs -d ../docs
RUN find /app
# Build the asyncapi API docs # Build the asyncapi API docs
FROM asyncapi/generator:1.1.7 as api FROM asyncapi/generator:1.1.7 as api
@ -40,8 +39,6 @@ COPY --from=api /app/api ./src/assets/api
RUN yarn RUN yarn
RUN yarn build:prod RUN yarn build:prod
RUN find ./src/assets
FROM node:14-alpine as runner FROM node:14-alpine as runner
COPY --from=builder /app/dist /app/dist COPY --from=builder /app/dist /app/dist
COPY --from=builder /app/node_modules /app/node_modules COPY --from=builder /app/node_modules /app/node_modules