Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
duxphp committed Apr 14, 2024
1 parent 726d025 commit ce1cdd4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Expand Up @@ -23,12 +23,11 @@ ENV PHP_MEMORY_LIMIT 512M
ENV PHP_FPM_LISTEN 9000

WORKDIR ${SITE_PATH}
COPY . ${SITE_PATH}
COPY --chown=www-data:www-data . ${SITE_PATH}
COPY ./docker/Caddyfile /etc/caddy/Caddyfile
COPY ./docker/supervisord.conf /etc/supervisord.conf


RUN mkdir -p ./tmp/config && chmod +x ${SITE_PATH}/docker/run.sh && chown -R www-data:www-data ${SITE_PATH}
RUN mkdir -p ./tmp/config && chmod +x ${SITE_PATH}/docker/run.sh
COPY ./config ./tmp/config

VOLUME ["${SITE_PATH}/data", "${SITE_PATH}/config"]
Expand Down

0 comments on commit ce1cdd4

Please sign in to comment.