Skip to content

Commit 80a57f2

Browse files
committed
Fix config.yml inclusion in Dockerfile
1 parent 103d8cc commit 80a57f2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.env
2+
!config.yml
23
config*.yml
34
!config.default.yml
45
*.db

Dockerfile.deploy

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ FROM alpine:latest
1616
WORKDIR /app
1717

1818
COPY --from=builder /app/hackatime .
19-
20-
RUN mkdir -p /app/config
19+
COPY --from=builder /app/config.yml config.yml
2120

2221
EXPOSE 3000
2322

24-
ENTRYPOINT ["./hackatime", "-config", "/app/config/config.yml"]
23+
ENTRYPOINT ["./hackatime", "-config", "config.yml"]

0 commit comments

Comments
 (0)