Last active
September 15, 2020 14:02
-
-
Save Logan1x/b7fa74ad0afb53a16d112e8288ef06a3 to your computer and use it in GitHub Desktop.
dockerfile_version_first
This file contains 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
from alpine:latest | |
RUN apk add --no-cache python3-dev \ | |
&& pip3 --update pip3 | |
WORKDIR /app | |
COPY . /app | |
RUN pip3 --no-cache-dir install -r requirements.txt | |
EXPOSE 5000 | |
ENTRYPOINT ["python3"] | |
CMD ["hello.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment