Skip to content

Commit 5de233a

Browse files
committed
- Fixing build error because of venv not sourced.
1 parent 72838d5 commit 5de233a

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

atlas/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.0.9 (2025-09-26)
4+
5+
- Fixing build error because of venv not sourced.
6+
37
## 0.0.8 (2025-09-26)
48

59
- Logos converted from SVG to PNG.

atlas/Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG BUILD_FROM
2-
ARG BUILD_ARCH
2+
ARG BUILDARCH
33
# Stage 1: Build Go binary and clone repo
44
FROM --platform=$BUILDARCH golang:1.22 AS builder
55

@@ -18,15 +18,14 @@ RUN go build -o /atlas .
1818
FROM $BUILD_FROM
1919

2020
RUN apk add --no-cache \
21-
nginx iputils-ping traceroute nmap sqlite net-tools curl jq ca-certificates git py3-pip \
22-
&& pip install --no-cache-dir fastapi uvicorn
21+
nginx iputils-ping traceroute nmap sqlite net-tools curl jq ca-certificates git py3-pip
2322

2423
# Create a virtual environment
2524
RUN python3 -m venv /opt/venv
2625
ENV PATH="/opt/venv/bin:$PATH"
2726

2827
# Install python packages
29-
RUN pip install --no-cache-dir fastapi uvicorn
28+
RUN . /optvenv/bin/activate && pip install --no-cache-dir fastapi uvicorn
3029

3130
# Remove default Nginx config
3231
RUN rm -f /etc/nginx/conf.d/default.conf /etc/nginx/sites-enabled/default || true
@@ -47,4 +46,4 @@ ENV ATLAS_API_PORT=8889
4746

4847
# Entrypoint: initializes DB, runs scans, launches FastAPI and Nginx
4948
EXPOSE 8888 8889
50-
CMD ["/run.sh"]
49+
CMD ["/run.sh"]

atlas/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Atlas
3-
version: "0.0.8"
3+
version: "0.0.9"
44
slug: atlas
55
description: Network Infrastructure Visualizer
66
arch:

0 commit comments

Comments
 (0)