-
-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Docker build and publish workflow and
Dockerfiles
- Loading branch information
1 parent
8744c66
commit 9ad071c
Showing
4 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
FROM serversideup/php:beta-8.2.12-unit-bookworm as base | ||
LABEL maintainer="Server Side Up <@serversideup>" | ||
|
||
### Development | ||
FROM base as development | ||
ARG USER_ID | ||
|
||
RUN usermod -u $USER_ID www-data | ||
|
||
# Copy the application with the correct permissions | ||
### Deploy | ||
FROM base as deploy | ||
LABEL maintainer="Server Side Up <@serversideup>" | ||
COPY --chown=9999:9999 . /var/www/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ services: | |
build: | ||
context: . | ||
dockerfile: Dockerfile.node | ||
target: base | ||
networks: | ||
- ci | ||
volumes: | ||
|