Fix dockerfile

This commit is contained in:
Brieuc Dubois 2023-12-22 23:20:06 +01:00
parent c24c0b4ed3
commit c814505b8d
2 changed files with 11 additions and 1 deletions

6
.dockerignore Normal file
View File

@ -0,0 +1,6 @@
.dockerignore
*.sqlite
Dockerfile
.gitignore
README.md
bin/

View File

@ -10,7 +10,7 @@ COPY . .
RUN make build
FROM alpine:latest
FROM debian:stable-slim
ENV DATA=/data
@ -20,4 +20,8 @@ WORKDIR /app
COPY --from=builder /app/bin/trakr .
RUN chmod +x /app/trakr
RUN mkdir /data
ENTRYPOINT ["/app/trakr"]