refactor: move the output directory

This commit is contained in:
Oliver Davies 2022-01-04 18:28:58 +00:00
parent a455572098
commit 4f51883ba7
2 changed files with 3 additions and 2 deletions

View file

@ -28,4 +28,4 @@ SCULPIN_URL=http://localhost
# Any additional arguments to pass to the "sculpin generate" command.
#SCULPIN_GENERATE_ARGS=
SCULPIN_GENERATE_ARGS="--server --watch"
SCULPIN_GENERATE_ARGS="--output-dir=/output/html --server --watch"

View file

@ -34,7 +34,8 @@ FROM opdavies/sculpin-serve AS app
WORKDIR /app
RUN adduser --disabled-password sculpin \
&& chown sculpin:sculpin -R /app
&& mkdir /output \
&& chown sculpin:sculpin -R /app /output
###