Hello I am trying to share data between host and container, in order to do this I have the following Dockerfile, and docker-compose.yml:
Dockerfile
FROM python:3.8.7-buster
RUN mkdir /proxies
COPY proxies /proxies
RUN pwd
RUN ls -la /proxies
docker-compose.yml
version: '3'
services:
socks_provider:
build: SocksProvider
volumes:
- ${HOST_PATH}/proxies:/proxies
When pwd
and ls
run to show the correct output, the files in the container are in /proxies
, but when try to access to that files using the volume folder in the host there aren't files, but the folder is created.
How can share that files between container and host?