We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 473ce90 commit 6ba0221Copy full SHA for 6ba0221
.dockerignore
@@ -0,0 +1 @@
1
+./.gitignore
Dockerfile
@@ -0,0 +1,11 @@
+FROM rust:1.20-stretch
2
+
3
+RUN apt-get update \
4
+ && apt-get install -y postgresql cmake \
5
+ && rm -rf /var/lib/apt/lists/* \
6
+ && cargo install diesel_cli --no-default-features --features postgres
7
8
+WORKDIR /app
9
+COPY . /app
10
11
+ENTRYPOINT ["/app/docker_entrypoint.sh"]
docker_entrypoint.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+diesel migration run
+./script/init-local-index.sh
+cargo run --bin server
0 commit comments