Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix log creation failure #65

Merged
merged 1 commit into from Mar 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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