Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
Update Dockerfile with dependency installations
Browse files Browse the repository at this point in the history
  • Loading branch information
Ismoh committed Nov 29, 2023
1 parent 2e12d20 commit b868e78
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
# action will be executed in a python3 container
FROM python:3.13.0a2-slim-bullseye

# copy requirements.txt to the container
COPY requirements.txt /requirements.txt

# install dependencies
RUN apt-get update -y && \
apt install -y --fix-broken && \
apt-get install -y build-essential && \
apt-get install -y build-essential libssl-dev libffi-dev python3-dev
RUN pip install -r /requirements.txt

# copy main.py to the container
COPY main.py /main.py

# run main.py
CMD [ "python", "/main.py"]

0 comments on commit b868e78

Please sign in to comment.