Skip to content

Commit

Permalink
Test: docker
Browse files Browse the repository at this point in the history
  • Loading branch information
curious-mike-dvc committed Jul 20, 2024
1 parent df3f6ca commit 30deeff
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Use the specified base image

#FROM php:8.1.22-fpm-alpine3.16 AS base
FROM php:8.1.28-fpm-alpine3.18 AS base

# Install necessary packages
Expand Down Expand Up @@ -26,7 +27,11 @@ RUN mkdir -p /run/nginx && \
mkdir -p /var/www/html && \
chown -R www-data:www-data /var/www/html

# Set the working directory
# Add non root user to the tty group, so we can write to stdout and stderr
RUN addgroup www-data tty

# Set the working directory and user
USER www-data
WORKDIR /var/www/html

# Add a test PHP file
Expand Down

0 comments on commit 30deeff

Please sign in to comment.