Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM --platform=linux/amd64 node:16.3-alpine3.12

WORKDIR /app

COPY package*.json /app/
RUN npm ci

COPY lib/ /app

ENTRYPOINT [ "node", "cli.js" ]
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,15 @@ Sign in to [Timesheets](https://timesheets.eficode.fi/) on Chrome.
### Adding an hour report

`npx @eficode/tscli add <id> <duration>`

## Docker

`docker build -t tscli .`

### Running

`docker run -it tscli tasks`

### From dockerhub

`docker run -it mrako/tscli tasks`
Loading