Skip to content

Commit

Permalink
Remove dead code, comment out curl (do i even need this?)
Browse files Browse the repository at this point in the history
  • Loading branch information
perfectly-preserved-pie committed Nov 12, 2024
1 parent 477de27 commit eda2cdb
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,7 @@ RUN uv pip install --system --no-cache-dir -r requirements.txt
USER nonroot

# Install curl
RUN apt-get update && apt-get install -y curl

# Using uv to install packages because it's fast as fuck boiiii
# https://www.youtube.com/watch?v=6E7ZGCfruaw
# https://ryxcommar.com/2024/02/15/how-to-cut-your-python-docker-builds-in-half-with-uv/
ADD --chmod=655 https://astral.sh/uv/install.sh /install.sh
RUN /install.sh && rm /install.sh
RUN /root/.cargo/bin/uv pip install --system --no-cache -r requirements.txt

COPY . ./
#RUN apt-get update && apt-get install -y curl

# Run the app using gunicorn.
# Expose the port gunicorn is listening on (80).
Expand Down

0 comments on commit eda2cdb

Please sign in to comment.