Created
June 11, 2018 20:33
-
-
Save c-goosen/e4e9ae808aa8387c4c68ced2b7c52293 to your computer and use it in GitHub Desktop.
Dockerfile for sanic API on alpine Linux
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
from python:3.6-alpine | |
COPY ./sanic /sanic | |
WORKDIR /sanic/ | |
RUN ls | |
RUN apk add --update --no-cache build-base python3-dev libffi-dev openssl-dev | |
RUN pip install -r requirements.txt | |
RUN python sanic.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment