add snippet folder to docker build

This commit is contained in:
neri 2021-08-18 23:27:55 +02:00
parent c372db6446
commit 8fcc4f19d2
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ RUN cargo build --release
COPY --chown=rust src ./src COPY --chown=rust src ./src
COPY --chown=rust static ./static COPY --chown=rust static ./static
COPY --chown=rust template ./template COPY --chown=rust template ./template
COPY --chown=rust snippet ./snippet
COPY --chown=rust init-db.sql ./init-db.sql COPY --chown=rust init-db.sql ./init-db.sql
RUN touch src/main.rs RUN touch src/main.rs
RUN cargo build --release RUN cargo build --release