Skip to content

Commit

Permalink
local dockerfile working
Browse files Browse the repository at this point in the history
  • Loading branch information
ignacioct committed May 14, 2024
1 parent 00a2e43 commit 4721b7a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions docker/local.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
FROM python:3.11-slim AS base

RUN apt-get update && \
apt-get upgrade -y && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

WORKDIR /

FROM python:3.11-slim

WORKDIR /app
COPY . .

RUN pip install "distilabel[argilla]"
RUN pip install -e ".[argilla,hf-transformers,hf-inference-endpoints]"

EXPOSE 80

Expand Down

0 comments on commit 4721b7a

Please sign in to comment.