Skip to content

Commit

Permalink
Dockerfile syntax fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikethicke committed Oct 17, 2024
1 parent 6502a2f commit eaafa4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.nginx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Nginx container for running WordPress on production

FROM --platform=linux/arm64 nginx:stable-alpine3.19
FROM nginx:stable-alpine3.19

# Ensure that important users and groups have consistent IDs across all containers.
# 82 is the standard uid/gid for "www-data" on php-fpm Alpine.
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PHP container for running WordPress

FROM --platform=linux/arm64 php:fpm-alpine3.19 AS base
FROM php:fpm-alpine3.19 AS base

RUN addgroup -g 33 xfs || true \
&& addgroup xfs www-data \
Expand Down Expand Up @@ -71,7 +71,7 @@
ln -s /app/core-plugins/*/ /app/site/web/app/plugins/ && \
ln -s /app/forked-plugins/*/ /app/site/web/app/plugins/ && \
ln -s /app/mu-plugins/* /app/site/web/app/mu-plugins/ && \
ln -s /app/themes/*/ /app/site/web/app/themes/ && \
ln -s /app/themes/*/ /app/site/web/app/themes/

COPY --chown=www-data:www-data composer.json /app/
COPY --chown=www-data:www-data composer.lock /app/
Expand Down

0 comments on commit eaafa4d

Please sign in to comment.