kopia lustrzana https://github.com/simonw/datasette
'publish now' uses force_https_urls:on - closes #333
rodzic
f24b49a1a8
commit
b320f58d13
|
@ -191,6 +191,12 @@ def publish(
|
|||
|
||||
if publisher == "now":
|
||||
_fail_if_publish_binary_not_installed("now", "Zeit Now", "https://zeit.co/now")
|
||||
if extra_options:
|
||||
extra_options += " "
|
||||
else:
|
||||
extra_options = ""
|
||||
extra_options += "--config force_https_urls:on"
|
||||
|
||||
with temporary_docker_directory(
|
||||
files,
|
||||
name,
|
||||
|
|
|
@ -281,7 +281,7 @@ FROM python:3.6
|
|||
COPY . /app
|
||||
WORKDIR /app
|
||||
{spatialite_extras}
|
||||
RUN pip install {install_from}
|
||||
RUN pip install -U {install_from}
|
||||
RUN datasette inspect {files} --inspect-file inspect-data.json
|
||||
EXPOSE 8001
|
||||
CMD [{cmd}]'''.format(
|
||||
|
|
Ładowanie…
Reference in New Issue