Skip to content

Commit

Permalink
Add Dockerfile (#22)
Browse files Browse the repository at this point in the history
* Add file

* Add folder docker and update Dockerfile

* Delete previous Dockerfile version
  • Loading branch information
Ekarerina-Ulyanova authored Jan 21, 2025
1 parent bd89ca2 commit 7ee5510
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM --platform=${BUILDPLATFORM} python:3.11-slim-buster

WORKDIR /app

COPY ../requirements.txt .

RUN apt-get update && \
apt-get install --no-install-recommends -y git && \
rm -rf /var/lib/apt/lists/*

RUN pip install --no-cache-dir -r requirements.txt

COPY ../OSA/ OSA/
COPY ../main.py .

ENV REPO_URL=""

CMD ["sh", "-c", "python main.py $REPO_URL"]

0 comments on commit 7ee5510

Please sign in to comment.