diff --git a/Dockerfile b/Dockerfile index 3466612..5db33a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates \ && rm -rf /var/lib/apt/lists/* +WORKDIR /app + COPY --from=builder /app/target/release/happyview /usr/local/bin/happyview +COPY --from=builder /app/migrations /app/migrations COPY --from=frontend /app/web/out /srv/static ENV STATIC_DIR=/srv/static