Skip to content

Commit 4e7d6f7

Browse files
authored
Merge pull request #222 from pl4nty/patch-1
feat: create Dockerfile
2 parents 7d07cbb + f998943 commit 4e7d6f7

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM python:3.9.18-slim
2+
3+
RUN --mount=type=cache,target=/var/cache/apt \
4+
apt-get update && apt-get install -y git git-lfs
5+
6+
WORKDIR /usr/src/app
7+
8+
COPY release-requirements.txt .
9+
RUN --mount=type=cache,target=/root/.cache/pip \
10+
pip install -r release-requirements.txt
11+
12+
COPY . .
13+
RUN --mount=type=cache,target=/root/.cache/pip \
14+
pip install .
15+
16+
ENTRYPOINT [ "github-backup" ]

0 commit comments

Comments
 (0)