Skip to content

Instantly share code, notes, and snippets.

@Logan1x
Last active September 15, 2020 14:02
Show Gist options
  • Save Logan1x/b7fa74ad0afb53a16d112e8288ef06a3 to your computer and use it in GitHub Desktop.
Save Logan1x/b7fa74ad0afb53a16d112e8288ef06a3 to your computer and use it in GitHub Desktop.
dockerfile_version_first
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