Skip to content

Commit 0d6b8a5

Browse files
fix: copy database schema into image and correct docker run port mapping
1 parent 914d4bc commit 0d6b8a5

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ coverage
1818
*.swo
1919
images
2020
scripts
21-
database
2221
data

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Get started in seconds with Docker:
6161
docker pull ghcr.io/codemaster4711/lighthouse/lighthouse:latest
6262

6363
docker run -d \
64-
-p 5173:5173 \
64+
-p 3000:3000 \
6565
-v lighthouse-data:/app/data \
6666
-e SESSION_SECRET=your-secret-key \
6767
--name lighthouse \
@@ -76,7 +76,7 @@ cd lighthouse
7676
docker-compose up -d
7777
```
7878

79-
Access the application at `http://localhost:5173`
79+
Access the application at `http://localhost:3000`
8080

8181
### Manual Installation
8282

lighthouse/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ WORKDIR /app
1818

1919
COPY --from=builder /app/build ./build
2020
COPY lighthouse/package.json ./package.json
21+
COPY database/ /database/
2122

2223
RUN npm install --omit=dev
2324

0 commit comments

Comments
 (0)