mirror of
https://github.com/hulthe/inkopslista.git
synced 2026-08-03 23:11:28 +02:00
Add default data volume to Dockerfile
This commit is contained in:
+4
-1
@@ -1,7 +1,7 @@
|
||||
##################
|
||||
### BASE STAGE ###
|
||||
##################
|
||||
FROM rust:1.92.0 as base
|
||||
FROM rust:1.92.0 AS base
|
||||
|
||||
# Install build dependencies
|
||||
# RUN cargo install --locked trunk@^0.18.8 strip_cargo_version
|
||||
@@ -68,6 +68,9 @@ ENV RUST_LOG="info"
|
||||
ENV ROCKET_ADDRESS="0.0.0.0"
|
||||
ENV ROCKET_PORT="8000"
|
||||
|
||||
VOLUME ["/data"]
|
||||
ENV DB_PATH="/data/db.sqlite"
|
||||
|
||||
WORKDIR /
|
||||
|
||||
# Copy application binary
|
||||
|
||||
Reference in New Issue
Block a user