chore(Dockerfile): add the WORKDIR

pull/94/head
xxxxxliil 2021-06-03 11:22:53 +08:00
parent 261087fb3a
commit b8b4b65ed8
1 changed files with 1 additions and 0 deletions

View File

@ -66,4 +66,5 @@ RUN apk add --no-progress --no-cache \
COPY rootfs /
RUN chmod +x /usr/local/bin/* /etc/s6.d/*/run /etc/s6.d/.s6-svscan/*
VOLUME /etc/nginx/flarum /flarum/app/extensions /flarum/app/public/assets /flarum/app/storage/logs
WORKDIR $_FLARUM_DIR
CMD ["/usr/local/bin/startup"]