Skip to content

Commit 6967373

Browse files
committed
fix compose file
Signed-off-by: Deggen <d.kellenschwiler@bsvassociation.org>
1 parent 0364563 commit 6967373

File tree

3 files changed

+8
-29
lines changed

3 files changed

+8
-29
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ FROM node:22-alpine
55
WORKDIR /app
66

77
# Copy package.json and package-lock.json
8-
COPY overlay-express-examples/package*.json ./
8+
COPY package*.json .
99

10-
# Install the packed overlay-express tarball (overrides file: ref),
11-
# then install remaining dependencies
10+
# Install dependencies
1211
RUN npm install
1312

1413
# Copy the entire application code into the container
15-
COPY overlay-express-examples/ .
14+
COPY . .
1615

1716
# Expose the application port
1817
EXPOSE 8080

Dockerfile.dockerignore

Lines changed: 0 additions & 20 deletions
This file was deleted.

docker-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ services:
2525
volumes:
2626
- mysql_data:/var/lib/mysql
2727

28-
app:
28+
overlay-server:
2929
build:
30-
context: ..
31-
dockerfile: overlay-express-examples/Dockerfile
32-
container_name: ts-app
30+
context: .
31+
dockerfile: Dockerfile
32+
container_name: overlay-server
3333
depends_on:
3434
- mongodb
3535
- mysql
@@ -52,7 +52,7 @@ services:
5252
image: alpine:latest
5353
container_name: janitor
5454
depends_on:
55-
- app
55+
- overlay-server
5656
environment:
5757
ADMIN_TOKEN: 0f9888ec903a
5858
entrypoint: /bin/sh

0 commit comments

Comments
 (0)