Skip to content

Commit

Permalink
Merge pull request #65 from bit-man/fix/cannot-create-log
Browse files Browse the repository at this point in the history
Fix log creation failure
  • Loading branch information
zelon88 committed Mar 25, 2024
2 parents 00f01b9 + 49d9eac commit 73da016
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Documentation/Build/Dockerfile
Expand Up @@ -43,12 +43,6 @@ FROM php:8.1-apache
RUN mkdir /DATA && \
mkdir /DATA/HRConvert2

# Set permissions for required directories.
RUN chmod -R 0755 /DATA && \
chown -R www-data:www-data /DATA && \
chmod -R 0755 /var/www/html && \
chown -R www-data:www-data /var/www/html

# Set the working directory in the container.
WORKDIR /var/www/html/HRProprietary

Expand Down Expand Up @@ -87,6 +81,12 @@ RUN cp HRConvert2/Documentation/Build/php.ini /usr/local/etc/php.ini
RUN cp HRConvert2/index.html /var/www/html/index.html
RUN cp HRConvert2/index.html /var/www/html/HRProprietary/index.html

# Set permissions for required directories.
RUN chmod -R 0755 /DATA && \
chown -R www-data:www-data /DATA && \
chmod -R 0755 /var/www/html && \
chown -R www-data:www-data /var/www/html

# Expose the ports Apache listens on to the host.
# Set these to whatever ports suits your needs.
EXPOSE 80
Expand Down

0 comments on commit 73da016

Please sign in to comment.