This commit is contained in:
Raghav
2026-03-13 23:00:37 -04:00
parent f1ca9c9958
commit 0141852df4
+6 -1
View File
@@ -1,12 +1,13 @@
FROM golang:1.25
RUN mkdir /backend
# COPY ["api", "internal", "go.mod", "go.sum", "app.go", "/backend/"]
COPY . /backend/
RUN go build -C /backend -o app
FROM node
RUN mkdir /frontend
WORKDIR /frontend
RUN git clone https://git.coopcloud.tech/BornDeleuze/coop-cloud-front .
RUN git clone https://git.coopcloud.tech/sixsmith/coop-cloud-front .
RUN npm install
RUN curl https://install.abra.coopcloud.tech | bash
@@ -15,5 +16,9 @@ RUN $ABRA_BIN recipe sync
COPY ./start.sh /
COPY --from=0 /backend/app /backend/app
COPY .abra /root/.abra/
COPY config /root/.ssh/config
COPY id_ed25519_* /root/.ssh/
EXPOSE 3000 5173
# ENV VITE_API_URL=http://localhost:3000/api
ENTRYPOINT [ "/start.sh" ]