diff options
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -18,7 +18,7 @@ RUN chmod +x /app/download-models.sh ARG MODEL_BASE_URL ENV MODEL_BASE_URL=${MODEL_BASE_URL} -ENV MODELS_DIR=/app/models +ENV MODELS_DIR=/models RUN /app/download-models.sh echo "Models downloaded" # Copy workspace files @@ -29,7 +29,7 @@ COPY tools/stt-client ./tools/stt-client # Build release binary RUN cargo build --release --package makima --bin makima -RUN mv /app/target/release/makima /app/makima +RUN cp /app/target/release/makima /makima # Clean up build artifacts to reduce image size RUN rm -rf /app/target /app/makima/src /app/vendor /app/tools /usr/local/cargo/registry @@ -46,4 +46,4 @@ EXPOSE 8080 HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \ CMD curl -f http://localhost:${PORT}/api/v1/healthcheck || exit 1 -CMD ["/app/makima"] +CMD ["/makima", "server"] |
