Created
January 10, 2021 13:08
-
-
Save narenaryan/b1d2162af640423b84e4d83a3ca6a64b to your computer and use it in GitHub Desktop.
cursor-tutorial
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # set base image | |
| FROM python:3.8-slim | |
| # set the working directory in the container | |
| WORKDIR /app | |
| # copy the dependencies file to temp directory | |
| COPY app/requirements.txt /tmp/ | |
| # install dependencies | |
| RUN pip install -r /tmp/requirements.txt | |
| # copy the content of the local src directory to the working directory | |
| COPY app /app | |
| # run container as executable on start | |
| ENTRYPOINT python main.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment