chore: create initial config dockerfile
This commit is contained in:
parent
85cb9e36bb
commit
af82157957
28
Dockerfile
28
Dockerfile
|
@ -0,0 +1,28 @@
|
|||
FROM docker:20.10
|
||||
WORKDIR /home/librex
|
||||
|
||||
# Docker metadata contains information about the maintainer, such as the name, repository, and support email
|
||||
# Please add any necessary information or correct any incorrect information
|
||||
# See more: https://docs.docker.com/config/labels-custom-metadata/
|
||||
LABEL name="LibreX" \
|
||||
description="Framework and javascript free privacy respecting meta search engine" \
|
||||
version="1.0" \
|
||||
vendor="Hnhx Femboy<femboy.hu>" \
|
||||
url="https://github.com/hnhx/librex" \
|
||||
usage="https://github.com/hnhx/librex/wiki" \
|
||||
authors="https://github.com/hnhx/librex/contributors"
|
||||
|
||||
# Include arguments as temporary environment variables to be handled by Docker during the image build process
|
||||
# Change or add new arguments to customize the image generated by 'docker build' command
|
||||
ARG DOCKER_SCRIPTS=".docker"
|
||||
|
||||
# Customize the environment during both execution and build time by modifying the environment variables added to the container's shell
|
||||
# When building your image, make sure to set the 'TZ' environment variable to your desired time zone location, for example 'America/Sao_Paulo'
|
||||
# See more: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
|
||||
ENV TZ="America/New_York"
|
||||
ENV PATH="/docker/bin:$PATH"
|
||||
ENV OPENSEARCH_HOST="http://localhost:80"
|
||||
|
||||
# Include docker scripts, docker images, and the 'GNU License' in the Librex container
|
||||
ADD "${DOCKER_SCRIPTS}/*" "/docker/"
|
||||
ADD "LICENSE" "/docker/LICENSE"
|
Loading…
Reference in New Issue