forked from toolshed/coop-cloud-backend
test
This commit is contained in:
+6
-1
@@ -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" ]
|
||||
|
||||
Reference in New Issue
Block a user