mirror of
https://github.com/Balshgit/python-poetry.git
synced 2025-09-10 16:30:41 +03:00
19 lines
361 B
YAML
19 lines
361 B
YAML
version: '3.9'
|
|
|
|
services:
|
|
python:
|
|
image: "poetry-python:latest"
|
|
container_name: 'poetry-python'
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
- USER=${USER}
|
|
volumes:
|
|
- ./poetry/:/poetry/
|
|
command: >
|
|
bash -c "
|
|
cp /code/* /poetry -r
|
|
&& sleep 2
|
|
&& chown ${USER}:$USER -R /poetry
|
|
" |