make sure the seeded db is available in the container.

This commit is contained in:
Jason Kulatunga 2022-09-27 22:14:01 -07:00
parent 83e71d8b54
commit 655e63ed2b
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,8 @@ RUN CGO_ENABLED=0 go build -o /go/bin/fasten ./backend/cmd/fasten/
# create folder structure
RUN mkdir -p /opt/fasten/db \
mkdir -p /opt/fasten/web \
mkdir -p /opt/fasten/config
mkdir -p /opt/fasten/config \
curl -o /opt/fasten/db/fasten.db -L https://github.com/fastenhealth/testdata/raw/main/fasten.db