feat: set container version + removed unnecessary files

This commit is contained in:
sujiba 2024-06-06 13:22:36 +02:00
parent 92be0f88e0
commit 74dbef2506
2 changed files with 10 additions and 7 deletions

View file

@ -1,19 +1,22 @@
# Get latest app version
FROM alpine/git
FROM alpine:3.20.0
WORKDIR /clone-workspace
RUN apk update && \
apk upgrade && \
apk add git
RUN git clone https://github.com/fernwerker/ownDynDNS.git
# Build container to run the app
FROM php:apache
FROM php:8.3.7-apache
WORKDIR /var/www/html
RUN apt-get update -y && \
apt-get upgrade -y && \
apt-get install -y \
libxml2-dev && \
apt-get clean -y && \
docker-php-ext-install soap
libxml2-dev
RUN docker-php-ext-install soap
RUN apt-get clean -y
WORKDIR /var/www/html
COPY --from=0 /clone-workspace/ownDynDNS /var/www/html
COPY --from=0 /clone-workspace/ownDynDNS/.htaccess.example /var/www/html/.htaccess

View file

@ -1 +1 @@
2024.05.0
2024.06.0