Browse Source

chore: move the templates to their appropriate folders

Junior L. Botelho (JLB) 2 years ago
parent
commit
779cdf0da3

+ 1 - 1
Dockerfile

@@ -1,6 +1,6 @@
 # syntax=docker/dockerfile:1
 ARG VERSION="3.17"
-FROM alpine:${VERSION} AS builder
+FROM alpine:${VERSION} AS runner
 WORKDIR "/home/librex"
 
 # Docker metadata contains information about the maintainer, such as the name, repository, and support email

+ 0 - 0
docker/templates/nginx.conf → docker/nginx/nginx.conf


+ 4 - 1
docker/nginx/nginx.dockerfile

@@ -1 +1,4 @@
-FROM nginx:stable-alpine
+# syntax=docker/dockerfile:1
+ARG VERSION="3.17"
+FROM alpine:${VERSION} AS builder
+WORKDIR "/home/librex"

+ 0 - 0
docker/templates/config.php → docker/php/config.php


+ 0 - 0
docker/templates/opensearch.xml → docker/php/opensearch.xml


+ 4 - 1
docker/php/php.Dockerfile

@@ -1 +1,4 @@
-FROM php:7.4-fpm-alpine
+# syntax=docker/dockerfile:1
+ARG VERSION="3.17"
+FROM alpine:${VERSION} AS builder
+WORKDIR "/home/librex"