Skip to content

Commit

Permalink
fix(misc): Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
bouassaba committed Oct 30, 2024
1 parent a444ed7 commit e1c5238
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
3 changes: 0 additions & 3 deletions api/.vscode/settings.json

This file was deleted.

2 changes: 1 addition & 1 deletion api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ktlint --format
Lint:

```shell
ktlint --format
ktlint
```

Run for development:
Expand Down
9 changes: 7 additions & 2 deletions sqlgen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,18 @@ ktlint --format
Lint:

```shell
ktlint --format
ktlint
```

Build and run with Docker:
Build Docker image:

```shell
docker build -t rolldebee/sqlgen .
```

Run with Docker:

```shell
docker run --rm -it --name rolldebee-sqlgen -p 9898:9898 rolldebee/sqlgen
```

Expand Down
6 changes: 3 additions & 3 deletions ui/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM node:18-alpine
FROM oven/bun:1-alpine

WORKDIR /app

COPY . .

RUN npm install
RUN bun i --frozen-lockfile

ENTRYPOINT ["/bin/sh", "-c", "npm run dev"]
ENTRYPOINT ["bun", "run", "dev"]

EXPOSE 5173

0 comments on commit e1c5238

Please sign in to comment.