Skip to content

Commit

Permalink
Bug Fix :
Browse files Browse the repository at this point in the history
docker_initialise.py file not found
  • Loading branch information
thivinanandh committed Jul 12, 2024
1 parent 454de5b commit 034de10
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,13 @@ RUN echo "export PYTHONPATH=${PYTHONPATH}:/fastvpinns" >> ~/.bashrc
# set alias for python as python3 in bashrc
RUN echo "alias python=python3" >> ~/.bashrc

# temporarily copy the file
COPY docker_initialise.py /fastvpinns/docker_initialise.py
# Change execution permission
RUN chmod +x /fastvpinns/docker_initialise.py
RUN chmod +x docker_initialise.py


# set bash as the default command
CMD ["/bin/bash"]


ENTRYPOINT ["bash", "-c", "python3 /fastvpinns/docker_initialise.py && exec /bin/bash"]
ENTRYPOINT ["bash", "-c", "python3 docker_initialise.py && exec /bin/bash"]

0 comments on commit 034de10

Please sign in to comment.