Skip to content

Commit

Permalink
add docker deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiritin committed Aug 11, 2024
1 parent 2ce0f58 commit 5a7be6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ jobs:
DockerHubPass: ${{ secrets.DOCKERHUB_PASSWORD }}
DockerHubPrefix: eurofurence
DockerFileLocation: ./docker/Dockerfile
DockerTarget: production
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ COPY --from=themes /app/public/assets /app/public/assets/
RUN find /app/storage/ -type f -not -name VERSION -exec rm {} \;

# Build the PHP/Nginx container
FROM php:8.2-fpm-alpine
FROM php:8.2-fpm-alpine as production

Check warning on line 42 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build-docker / main

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 42 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build-docker / main

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /var/www
RUN apk add --no-cache icu-dev nginx && \
docker-php-ext-install intl pdo_mysql && \
Expand Down

0 comments on commit 5a7be6f

Please sign in to comment.