Skip to content

Commit 60eabea

Browse files
fix: reduce copied files in templates
1 parent 0a0c641 commit 60eabea

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

cli/templates/JavaScript/.dockerignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
################ IMPORTANT NOTICE ###################
2+
# Do not modify this file #
3+
# Any modifications might not be taken into account #
4+
#####################################################
5+
16
# iapp config file may contain secrets
27
iapp.config.json
38

cli/templates/JavaScript/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ FROM node:22-alpine3.21
22
WORKDIR /app
33
COPY package*.json ./
44
RUN npm ci
5-
COPY . .
5+
COPY src/ ./src/
66
ENTRYPOINT ["node", "--disable-wasm-trap-handler", "/app/src/app.js"]

cli/templates/Python3.13/.dockerignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
################ IMPORTANT NOTICE ###################
2+
# Do not modify this file #
3+
# Any modifications might not be taken into account #
4+
#####################################################
5+
16
# iapp config file may contain secrets
27
iapp.config.json
38

cli/templates/Python3.13/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ FROM python:3.13.3-alpine3.21
22
WORKDIR /app
33
COPY requirements.txt ./
44
RUN pip install -r requirements.txt
5-
COPY . .
5+
COPY src/ ./src/
66
ENTRYPOINT ["python3", "/app/src/app.py"]

0 commit comments

Comments
 (0)