Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanbhosale authored Nov 12, 2024
1 parent aa5d012 commit 1c8de2f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
# Use an official Python runtime as a parent image
FROM python:3.11-slim
FROM python:3.11

# Install necessary build tools and curl
RUN apt-get update && apt-get install -y build-essential curl

# Install Rust using rustup
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y

# Add Rust to PATH
ENV PATH="/root/.cargo/bin:${PATH}"

# Set the working directory in the container
WORKDIR /app

# Copy the project files to the container
COPY . /app

# Upgrade pip and setuptools
RUN pip install --upgrade pip setuptools wheel

# Install the project and its dependencies
RUN pip install .

Expand Down

0 comments on commit 1c8de2f

Please sign in to comment.