Skip to content

Commit 1072ad8

Browse files
author
Leo Park
committed
Update Dockerfile
1 parent b0a55e8 commit 1072ad8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
**
22
!requirements.txt
3-
!es_test_data.py
3+
!search_test.py

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ RUN pip install --ignore-installed --no-warn-script-location --prefix="/dist" -r
3939

4040
WORKDIR /dist/
4141

42-
COPY es_test_data.py .
42+
COPY modules ./modules/
43+
COPY search_test.py .
4344

4445
# For debugging the Build Stage
4546
CMD ["bash"]
@@ -79,4 +80,4 @@ USER "$APP_USER_NAME"
7980
COPY --from=build --chown="$APP_USER_NAME":"$APP_GROUP_ID" /dist/ "$PYTHONUSERBASE"/
8081

8182
# Use ENTRYPOINT instead CMD to force the container to start the application
82-
ENTRYPOINT ["python", "es_test_data.py"]
83+
ENTRYPOINT ["python", "search_test.py"]

0 commit comments

Comments
 (0)