mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-21 22:11:26 +00:00
Fix the docker build
This commit is contained in:
parent
5224d7cd96
commit
c82d0fb389
2 changed files with 3 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
data
|
data
|
||||||
contrib
|
|
||||||
Dockerfile
|
Dockerfile
|
||||||
|
contrib/docker/Dockerfile.*
|
||||||
docker-compose*.yml
|
docker-compose*.yml
|
||||||
.dockerignore
|
.dockerignore
|
||||||
.git
|
.git
|
||||||
|
|
|
@ -32,12 +32,10 @@ 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 \
|
||||||
&& composer install --prefer-source --no-interaction \
|
&& composer install --prefer-source --no-interaction \
|
||||||
&& rm -rf html && ln -s public html
|
&& rm -rf html && ln -s public html
|
||||||
|
|
||||||
COPY contrib/docker/php.ini /usr/local/etc/php/conf.d/pixelfed.ini
|
|
||||||
COPY contrib/docker/start.sh /start.sh
|
|
||||||
|
|
||||||
VOLUME ["/var/www/storage"]
|
VOLUME ["/var/www/storage"]
|
||||||
|
|
||||||
ENV APP_ENV=production \
|
ENV APP_ENV=production \
|
||||||
|
@ -58,4 +56,4 @@ ENV APP_ENV=production \
|
||||||
REMOTE_FOLLOW=false \
|
REMOTE_FOLLOW=false \
|
||||||
ACTIVITY_PUB=false
|
ACTIVITY_PUB=false
|
||||||
|
|
||||||
CMD /start.sh
|
CMD /var/www/contrib/docker/start.sh
|
||||||
|
|
Loading…
Reference in a new issue