init project

This commit is contained in:
2022-11-28 10:06:38 +01:00
commit 594e587724
73 changed files with 62285 additions and 0 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM rust:latest
MAINTAINER Valentin SORLIN
USER root
ENV ROCKET_ADDRESS=0.0.0.0
ENV ROCKET_PORT=80
WORKDIR /usr/src/myapp
COPY ./liblaszip.so /lib/liblaszip.so
RUN rustup default nightly
RUN cargo install cargo-watch
RUN cargo install diesel_cli --no-default-features --features postgres
CMD ["cargo", "watch", "-x", "run", "-i", "/usr/src/myapp/tmp", "--why"]