Fix some examples and docs (#2052)

This commit is contained in:
Adam Hopkins
2021-03-10 11:19:38 +02:00
committed by GitHub
parent 5ca8bb85cd
commit ec7e4390e8
6 changed files with 107 additions and 90 deletions

View File

@@ -1,11 +1,8 @@
FROM python:3.5
MAINTAINER Channel Cat <channelcat@gmail.com>
FROM sanicframework/sanic:LTS
ADD . /code
RUN pip3 install git+https://github.com/channelcat/sanic
RUN mkdir /srv
COPY . /srv
EXPOSE 8000
WORKDIR /srv
WORKDIR /code
CMD ["python", "simple_server.py"]
CMD ["sanic", "simple_server.app"]