Skip to content

Commit ce31ca5

Browse files
committed
[bfops/ci-caching]: simpler?
1 parent 99b147c commit ce31ca5

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

.github/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ FROM rust:1.90.0
33
RUN mkdir -p /stdb/data
44
COPY ./target/debug/spacetimedb-standalone ./target/debug/spacetimedb-cli /usr/local/bin/
55
COPY ./crates/standalone/config.toml /stdb/data/config.toml
6+
RUN ln -s /usr/local/bin/spacetimedb-cli /usr/local/bin/spacetime

.github/docker-compose.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,11 @@ services:
55
build:
66
context: ../
77
dockerfile: .github/Dockerfile
8-
volumes:
9-
- key_files:/etc/spacetimedb
10-
- /stdb
118
ports:
129
- "3000:3000"
1310
# Postgres
1411
- "5432:5432"
15-
entrypoint: spacetimedb-standalone start --data-dir=/stdb/data --jwt-pub-key-path=/etc/spacetimedb/id_ecdsa.pub --jwt-priv-key-path=/etc/spacetimedb/id_ecdsa --pg-port 5432
12+
entrypoint: spacetime start --pg-port 5432
1613
privileged: true
1714
environment:
1815
RUST_BACKTRACE: 1
19-
20-
volumes:
21-
key_files:

0 commit comments

Comments
 (0)