Skip to content

Commit

Permalink
Update dockerfiles with case sensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler committed Jul 5, 2024
1 parent cf055d8 commit 71057b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:latest as builder
FROM rust:latest AS builder

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
Expand All @@ -9,7 +9,7 @@ COPY . .

RUN cargo build --release --workspace --exclude mistralrs-pyo3

FROM debian:bookworm-slim as base
FROM debian:bookworm-slim AS base

ENV HUGGINGFACE_HUB_CACHE=/data \
PORT=80 \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.cuda-all
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ARG FEATURES="cuda cudnn"
ENV RAYON_NUM_THREADS=4
RUN RUSTFLAGS="-Z threads=4" cargo build --release --workspace --exclude mistralrs-pyo3 --features "${FEATURES}"

FROM nvidia/cuda:12.4.1-cudnn-runtime-ubuntu22.04 as base
FROM nvidia/cuda:12.4.1-cudnn-runtime-ubuntu22.04 AS base

ENV HUGGINGFACE_HUB_CACHE=/data \
PORT=80 \
Expand Down

0 comments on commit 71057b3

Please sign in to comment.