Fix dockerfile
This commit is contained in:
parent
c24c0b4ed3
commit
c814505b8d
|
@ -0,0 +1,6 @@
|
||||||
|
.dockerignore
|
||||||
|
*.sqlite
|
||||||
|
Dockerfile
|
||||||
|
.gitignore
|
||||||
|
README.md
|
||||||
|
bin/
|
|
@ -10,7 +10,7 @@ COPY . .
|
||||||
|
|
||||||
RUN make build
|
RUN make build
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM debian:stable-slim
|
||||||
|
|
||||||
ENV DATA=/data
|
ENV DATA=/data
|
||||||
|
|
||||||
|
@ -20,4 +20,8 @@ WORKDIR /app
|
||||||
|
|
||||||
COPY --from=builder /app/bin/trakr .
|
COPY --from=builder /app/bin/trakr .
|
||||||
|
|
||||||
|
RUN chmod +x /app/trakr
|
||||||
|
|
||||||
|
RUN mkdir /data
|
||||||
|
|
||||||
ENTRYPOINT ["/app/trakr"]
|
ENTRYPOINT ["/app/trakr"]
|
||||||
|
|
Loading…
Reference in New Issue