chore: add docker-compose.yml file for testing #25
2 changed files with 11 additions and 1 deletions
|
|
@ -59,7 +59,8 @@ RUN apk add --no-cache sqlite
|
||||||
|
|
||||||
# Copy application binary from builder image
|
# Copy application binary from builder image
|
||||||
COPY --from=builder /usr/src/huellas/target/release/huellas /usr/local/bin
|
COPY --from=builder /usr/src/huellas/target/release/huellas /usr/local/bin
|
||||||
|
# Copy .env
|
||||||
|
COPY .env /usr/local/bin
|
||||||
# Copy static files
|
# Copy static files
|
||||||
COPY --from=builder /usr/src/huellas/static /usr/local/bin/static/
|
COPY --from=builder /usr/src/huellas/static /usr/local/bin/static/
|
||||||
# Copy javascript client
|
# Copy javascript client
|
||||||
|
|
|
||||||
9
docker-compose.yml
Normal file
9
docker-compose.yml
Normal 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"
|
||||||
Loading…
Add table
Reference in a new issue