FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
testcontainers-python/Dockerfile at main · stackninja7/testcontainers-python · GitHub
stackninja7
/
testcontainers-python
Public
forked from
testcontainers/testcontainers-python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
testcontainers-python
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
29 lines (23 loc) · 843 Bytes
Breadcrumbs
testcontainers-python
/
Dockerfile
Copy path
File metadata and controls
29 lines (23 loc) · 843 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
ARG
PYTHON_VERSION=3.10
FROM
python:${PYTHON_VERSION}-slim-bookworm
ENV
POETRY_NO_INTERACTION=1 \
POETRY_VIRTUALENVS_IN_PROJECT=1 \
POETRY_VIRTUALENVS_CREATE=1 \
POETRY_CACHE_DIR=/tmp/poetry_cache
WORKDIR
/workspace
RUN
pip install --upgrade pip \
&& apt-get update \
&& apt-get install -y freetds-dev \
&& apt-get install -y make \
#
no real need for keeping this image small at the moment
&& :; # rm -rf /var/lib/apt/lists/*
#
install poetry
RUN
bash -c
'python -m venv /opt/poetry-venv && source $_/bin/activate && pip install poetry && ln -s $(which poetry) /usr/bin'
#
install dependencies with poetry
COPY
pyproject.toml .
COPY
poetry.lock .
RUN
poetry install --all-extras --with dev --no-root
#
copy project source
COPY
. .
#
install project with poetry
RUN
poetry install --all-extras --with dev
Back
|
FazBrowse Home
|
New Git URL