forked from openprivacy/lockbox-web
Fixed Dockerfile
This commit is contained in:
parent
fc5248d827
commit
8f2d1391f3
|
@ -1,12 +0,0 @@
|
|||
FROM php:7.4-apache
|
||||
|
||||
# Set working directy at web server root
|
||||
WORKDIR /var/www/html
|
||||
|
||||
# Manually installs Lockbox
|
||||
COPY ../lockbox/* /
|
||||
COPY ../config/env.example.php ./php/env.php
|
||||
COPY ../config/key.public .
|
||||
|
||||
RUN mkdir /var/www/data
|
||||
RUN chmod 666 /var/www/data
|
|
@ -0,0 +1,13 @@
|
|||
FROM php:7.4-apache
|
||||
|
||||
# Set working directy at web server root
|
||||
WORKDIR /var/www/html
|
||||
|
||||
# Manually installs Lockbox
|
||||
COPY ./lockbox/ .
|
||||
COPY ./config/env.example.php ./php/env.php
|
||||
COPY ./config/key.public .
|
||||
|
||||
# Create directory to save submissions and adjust permissions
|
||||
RUN mkdir /var/www/data
|
||||
RUN chown -R www-data:www-data /var/www/data
|
Loading…
Reference in New Issue