I'm creating an image via docker compose, but for some reason the name is getting doubled?
Everything is working great, and there are not problems, but the image names looks like 'poc_tool_poc_tool" How can I change the name? or add versioning?
docker ps:
c70753c4553e poc_tool_poc_tool "streamlit run --ser…" 17 minutes ago Up 11 minutes 0.0.0.0:8889->8889/tcp poc_tool_poc_tool_1 The project is built as follows:
- poc_tool - app1 - app2 - app3 - docker-compose.yml - Dockerfile Dockerfile:
FROM python:3.8-slim-buster AS build COPY app3 /app COPY app1/src /app/src COPY app2 /app/app2 WORKDIR /app RUN pip install -r requirements.txt EXPOSE 8889 ENTRYPOINT ["streamlit","run","--server.port","8889"] CMD ["app.py"] docker-compose:
version: "3" services: poc_tool: build: . volumes: ... ports: - "8889:8889"