diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2019-10-10 19:01:37 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2019-10-10 19:01:37 +0000 |
| commit | ffa343c41fca7a38dc00bb929d31fb7552578900 (patch) | |
| tree | 98b95f4dc7658e767d0c779f19ec409dfaddd32d | |
| parent | fix mmm-embed (diff) | |
| download | mmm-ffa343c41fca7a38dc00bb929d31fb7552578900.tar.gz mmm-ffa343c41fca7a38dc00bb929d31fb7552578900.zip | |
serve from root/ in docker
| -rw-r--r-- | Dockerfile | 2 | ||||
| -rw-r--r-- | build/import.moon | 2 | ||||
| -rw-r--r-- | tup.docker.config | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -16,4 +16,4 @@ WORKDIR /code RUN tup init && tup generate --config tup.docker.config build-static.sh && ./build-static.sh EXPOSE 8000 -ENTRYPOINT ["moon", "build/server.moon", "sql:/db.sqlite3", "0.0.0.0", "8000"] +ENTRYPOINT ["moon", "build/server.moon", "fs", "0.0.0.0", "8000"] diff --git a/build/import.moon b/build/import.moon index 1e4df31..ba99b03 100644 --- a/build/import.moon +++ b/build/import.moon @@ -10,7 +10,7 @@ add '?/init.server' require 'mmm' require 'lfs' import Fileder, Key from require 'mmm.mmmfs.fileder' -import SQLStore from require 'mmm.mmmfs.drivers.sql' +import SQLStore from require 'mmm.mmmfs.stores.sql' -- usage: -- moon import.moon <root> [output.sqlite3] diff --git a/tup.docker.config b/tup.docker.config index 7299d26..5d71cbd 100644 --- a/tup.docker.config +++ b/tup.docker.config @@ -1,2 +1,2 @@ CONFIG_FENGARI_VERSION=v0.1.4 -CONFIG_SASS_ARGS=-m +CONFIG_SASS_ARGS= |
