1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 16:24:29 +00:00

Update Dockerfile.apache

This commit is contained in:
Shleeble 2019-04-16 13:50:56 +08:00 committed by GitHub
parent a250562be8
commit a3e7bf19f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ COPY . /var/www/
WORKDIR /var/www/ WORKDIR /var/www/
RUN cp -r storage storage.skel \ RUN cp -r storage storage.skel \
&& cp contrib/docker/php.ini /usr/local/etc/php/conf.d/pixelfed.ini \ && cp contrib/docker/php.ini /usr/local/etc/php/conf.d/pixelfed.ini \
&& composer install --no-dev --prefer-source --no-interaction \ && composer install --prefer-source --no-interaction \
&& rm -rf html && ln -s public html && rm -rf html && ln -s public html
VOLUME ["/var/www/storage"] VOLUME ["/var/www/storage"]