This commit is contained in:
parent
d4896dfdbf
commit
e9dbea995b
3 changed files with 52 additions and 1 deletions
18
.forgejo/workflows/test.yaml
Normal file
18
.forgejo/workflows/test.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
name: Build
|
||||
run-name: ${{ gitea.actor }} Builder
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
hello_world_job:
|
||||
runs-on: docker
|
||||
name: A job to say hello
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: ls
|
||||
run: ls -lisa
|
||||
- name: Hello world action step
|
||||
id: build-container
|
||||
run: docker build -t franky -f podman/Containerfile .
|
|
@ -1,5 +1,35 @@
|
|||
FROM dunglas/frankenphp
|
||||
|
||||
RUN install-php-extensions \
|
||||
intl \
|
||||
zip \
|
||||
opcache
|
||||
|
||||
|
||||
ENV FRANKENPHP_CONFIG="worker ./public/index.php"
|
||||
ENV APP_ENV=prod
|
||||
ENV APP_DEBUG=0
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ../assets ./assets
|
||||
COPY ../public ./public
|
||||
COPY ../bin ./bin
|
||||
COPY ../config ./config
|
||||
COPY ../migrations ./migrations
|
||||
COPY ../src ./src
|
||||
COPY ../templates ./templates
|
||||
COPY ../.env ./.env
|
||||
COPY ../composer.json ./composer.json
|
||||
COPY ../composer.lock ./composer.lock
|
||||
COPY ../importmap.php ./importmap.php
|
||||
COPY ../symfony.lock ./symfony.lock
|
||||
|
||||
COPY --from=composer /usr/bin/composer /usr/bin/composer
|
||||
|
||||
RUN composer install --no-dev --optimize-autoloader
|
||||
RUN rm /usr/bin/composer
|
||||
|
||||
ARG USER=appuser
|
||||
|
||||
RUN \
|
||||
|
@ -11,3 +41,6 @@ RUN \
|
|||
chown -R ${USER}:${USER} /data/caddy && chown -R ${USER}:${USER} /config/caddy
|
||||
|
||||
USER ${USER}
|
||||
|
||||
RUN ls -lisa .
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ use Doctrine\ORM\Mapping\Table;
|
|||
|
||||
#[Entity(repositoryClass: PropertyChangeLogRepository::class)]
|
||||
#[Table(name: 'property_change_log')]
|
||||
final class PropertyChangeLog
|
||||
class PropertyChangeLog
|
||||
{
|
||||
#[Id]
|
||||
#[GeneratedValue]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue