Skip to content

Commit dc62eff

Browse files
committed
build: try to fix docker build.
1 parent 8503958 commit dc62eff

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

actors.Dockerfile

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,26 @@
1+
FROM alpine/git:latest as repo
2+
3+
ARG RAILWAY_GIT_COMMIT_SHA
4+
ENV RAILWAY_GIT_COMMIT_SHA=${RAILWAY_GIT_COMMIT_SHA}
5+
6+
RUN echo "Cache bust: ${RAILWAY_GIT_COMMIT_SHA}"
7+
8+
RUN mkdir /repo
9+
WORKDIR /repo
10+
11+
RUN git clone --depth=1 --single-branch --branch main https://github.com/muni-town/rivet-roomy-space.git .
12+
RUN git submodule init && git submodule update --depth=1
13+
114
FROM oven/bun:1.3.11-alpine AS builder
215

16+
COPY --from=repo /repo /project
17+
318
# Uncomment if building on network with a custom certificate
419
#COPY ./gitignore/ca-certificates.crt /etc/ssl/cert.pem
520
#ENV NODE_EXTRA_CA_CERTS=/etc/ssl/certs/ca-certificates.crt
621

7-
COPY . /project
22+
WORKDIR /project
23+
RUN bun install
824
WORKDIR /project/actors
925

1026
RUN bun install

iso-repo

Submodule iso-repo added at 21cf28f

0 commit comments

Comments
 (0)