mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 16:32:31 +01:00
fix (docker): remove unready stuff
This commit is contained in:
parent
21c8a7f597
commit
8d89c78eec
1 changed files with 2 additions and 11 deletions
|
|
@ -26,20 +26,11 @@ RUN apt-get update > /dev/null && \
|
|||
mkdir -p ./dist/data/state/config/ && \
|
||||
cp config/config.json ./dist/data/state/config/config.json
|
||||
|
||||
# STEP4: BUILD PLUGINS
|
||||
FROM emscripten/emsdk AS builder_final
|
||||
WORKDIR /home/filestash/
|
||||
COPY --from=builder_backend /home/filestash/ .
|
||||
RUN mkdir -p /home/filestash/dist/data/state/plugins && \
|
||||
cd /home/filestash/server/plugin/plg_application_dev/ && make && \
|
||||
cd /home/filestash/server/plugin/plg_application_3d/ && make && \
|
||||
cd /home/filestash/server/plugin/plg_application_map/ && make
|
||||
|
||||
# STEP5: BUILD PROD IMAGE
|
||||
# STEP4: BUILD PROD IMAGE
|
||||
FROM debian:stable-slim
|
||||
MAINTAINER mickael@kerjean.me
|
||||
WORKDIR /app/
|
||||
COPY --from=builder_final /home/filestash/dist/ .
|
||||
COPY --from=builder_backend /home/filestash/dist/ .
|
||||
RUN apt-get update > /dev/null && \
|
||||
apt-get install -y --no-install-recommends apt-utils && \
|
||||
apt-get install -y curl ffmpeg libjpeg-dev libtiff-dev libpng-dev libwebp-dev libraw-dev libheif-dev libgif-dev && \
|
||||
|
|
|
|||
Loading…
Reference in a new issue