File tree Expand file tree Collapse file tree 3 files changed +8
-29
lines changed
Expand file tree Collapse file tree 3 files changed +8
-29
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,13 @@ FROM node:22-alpine
55WORKDIR /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
1211RUN 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
1817EXPOSE 8080
Load Diff This file was deleted.
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments