Saturday, June 3, 2023

my-alpine and docker-compose.yml

 ```

version: '1'

services:
    man:
      build: .
      image: my-alpine:latest
 

``` 


Dockerfile:

```

FROM alpine:latest
ENV PYTHONUNBUFFERED=1
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
RUN python3 -m ensurepip
RUN pip3 install --no-cache --upgrade pip setuptools
RUN apk add git
```

1 comment:

  1. sudo docker run \
    -it \
    -v ~/Documents:/workspace \
    -p 56788:56788 my-alpine

    ReplyDelete

Any comments?

my-alpine and docker-compose.yml

 ``` version: '1' services:     man:       build: .       image: my-alpine:latest   ```  Dockerfile: ``` FROM alpine:latest ENV PYTH...