chore: add docker-compose.yml file for testing #25

Merged
pitbuster merged 1 commit from add-docker-compose into main 2023-06-08 22:06:07 -04:00
2 changed files with 11 additions and 1 deletions

View file

@ -59,7 +59,8 @@ RUN apk add --no-cache sqlite
# Copy application binary from builder image
COPY --from=builder /usr/src/huellas/target/release/huellas /usr/local/bin
# Copy .env
COPY .env /usr/local/bin
# Copy static files
COPY --from=builder /usr/src/huellas/static /usr/local/bin/static/
# Copy javascript client

9
docker-compose.yml Normal file
View file

@ -0,0 +1,9 @@
version: '3'
services:
huellas:
restart: no
image: oolong.ludwig.dog/pitbuster/huellas:0.2.1
volumes:
- ./db:/usr/local/bin/db
ports:
- "8059:3000"