created dockerfile for base scripts
created ssh based dockerfile created dockerignore file fixed tinkoff grpc and added acrhor to tag created requirements.txt for docker pip system
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM python:3.10-alpine
|
||||
|
||||
# installing necessary software -- openssh for support of private repositories, connected through ssh,
|
||||
# git for git based VCS for such software, gcc g++ and musl-dev for building necessary dependencies, which are not
|
||||
# available as binaries
|
||||
RUN apk add --update-cache openssh-client git gcc g++ musl-dev libpq
|
||||
|
||||
# getting github ssh keys, to be ready to download private repos from there
|
||||
RUN mkdir --parents --mode 0700 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
|
||||
|
||||
# copying and installing requirements
|
||||
COPY requirements.txt .
|
||||
RUN --mount=type=ssh pip install -r requirements.txt
|
||||
Reference in New Issue
Block a user