Skip to content

Commit af52054

Browse files
authored
Environmental testing (#21)
1 parent 4530ae7 commit af52054

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ COPY --from=build /wheels-base/ /wheels/
2323
RUN pip install --no-cache-dir --no-index --find-links=/wheels/ /wheels/* \
2424
&& rm -rf /wheels/
2525

26+
WORKDIR /app
27+
COPY . .
28+
2629
COPY entrypoint.sh /entrypoint.sh
2730

2831
ENTRYPOINT ["/entrypoint.sh"]

entrypoint.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ set -o pipefail
1313
# Print commands and their arguments as they are executed
1414
#set -o xtrace
1515

16-
cd /github
16+
cd /app
1717

1818
echo "****** Current Directory ******"
1919
pwd
@@ -23,3 +23,6 @@ ls -laR
2323

2424
echo "****** Environment Variables ******"
2525
env
26+
27+
export PYTHONPATH=/app
28+
python main.py

0 commit comments

Comments
 (0)