2 Commits
0.0.1 ... 0.0.2

Author SHA1 Message Date
cad24f4001 enslimmen 2026-06-19 18:23:15 -04:00
052e327182 fix build 2026-06-19 15:35:52 -04:00
2 changed files with 4 additions and 6 deletions

View File

@ -3,15 +3,12 @@ RUN mkdir /backend
COPY --parents ["api", "cli", "internal", "go.mod", "go.sum", "app.go", "/backend/"]
RUN go build -C /backend -o gobackend
FROM node
FROM node:slim
RUN mkdir /home/node/wizard
COPY --from=0 /backend/gobackend /home/node/wizard/gobackend
USER node
COPY ./command.sh /
COPY ssh_config /home/node/.ssh/config
COPY id_ed25519_* /home/node/.ssh/
COPY dot_abra /home/node/.abra/
RUN curl https://install.abra.coopcloud.tech | bash
ENV ABRA_BIN=/home/node/.local/bin/abra
# RUN $ABRA_BIN recipe fetch -a
@ -25,4 +22,5 @@ USER node
EXPOSE 5173 3000
# ENV VITE_API_URL=http://localhost:3000/api
ENV VITE_MOCK_AUTH=false
CMD [ "/command.sh" ]

View File

@ -5,12 +5,12 @@ Integrates with https://git.coopcloud.tech/toolshed/coop-cloud-front.
## Starting the service with Docker
Build the container:
```bash
docker build -t abra-wizard:latest
docker build -t coop-cloud-wizard:latest
```
Run the container:
```bash
docker run abra-wizard
docker run -u 1000:1000 -v "$HOME/.abra:/home/node/.abra" -v "$HOME/.ssh:/home/node/.ssh" coop-cloud-wizard
```
## Getting started with development