mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 15:09:10 -05:00
🚧 🐳 Build release images
This commit is contained in:
parent
8e97638e15
commit
c44a1e0c0b
2 changed files with 1 additions and 23 deletions
|
@ -79,22 +79,13 @@ VOLUME /srv/uxbox/resources/public
|
||||||
WORKDIR /srv/uxbox/
|
WORKDIR /srv/uxbox/
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen; \
|
|
||||||
locale-gen && update-locale LANG=en_US.UTF-8 LC_ALL=C.UTF-8; \
|
|
||||||
mkdir -p /srv/uxbox/resources/public/media; \
|
mkdir -p /srv/uxbox/resources/public/media; \
|
||||||
mkdir -p /srv/uxbox/resources/public/static;
|
mkdir -p /srv/uxbox/resources/public/static;
|
||||||
|
|
||||||
|
|
||||||
ENV \
|
ENV UXBOX_CONFIG=/srv/uxbox/config/application.properties \
|
||||||
# Locale setup
|
|
||||||
LANG=en_US.UTF-8 LC_ALL=C.UTF-8 \
|
|
||||||
# Application configuration
|
|
||||||
UXBOX_CONFIG=/srv/uxbox/config/application.properties \
|
|
||||||
# Security setup
|
|
||||||
UXBOX_SECRET=youshouldoverwritethiswithsomethingelse \
|
UXBOX_SECRET=youshouldoverwritethiswithsomethingelse \
|
||||||
# Debug setup
|
|
||||||
UXBOX_DEBUG=false \
|
UXBOX_DEBUG=false \
|
||||||
# STMP setup
|
|
||||||
UXBOX_SMTP_HOST=localhost \
|
UXBOX_SMTP_HOST=localhost \
|
||||||
UXBOX_SMTP_PORT=25 \
|
UXBOX_SMTP_PORT=25 \
|
||||||
UXBOX_SMTP_USER=uxbox \
|
UXBOX_SMTP_USER=uxbox \
|
||||||
|
@ -102,10 +93,8 @@ ENV \
|
||||||
UXBOX_SMTP_SSL=false \
|
UXBOX_SMTP_SSL=false \
|
||||||
UXBOX_SMTP_TLS=false \
|
UXBOX_SMTP_TLS=false \
|
||||||
UXBOX_SMTP_ENABLED=false \
|
UXBOX_SMTP_ENABLED=false \
|
||||||
# Mail setup
|
|
||||||
UXBOX_MAIL_REPLY=no-reply@uxbox.io \
|
UXBOX_MAIL_REPLY=no-reply@uxbox.io \
|
||||||
UXBOX_MAIL_FROM=no-reply@uxbox.io \
|
UXBOX_MAIL_FROM=no-reply@uxbox.io \
|
||||||
# Database setup
|
|
||||||
UXBOX_DB_TYPE=postgresql \
|
UXBOX_DB_TYPE=postgresql \
|
||||||
UXBOX_DB_USER=uxbox \
|
UXBOX_DB_USER=uxbox \
|
||||||
UXBOX_DB_PASSWORD=youshouldoverwritethiswithsomethingelse \
|
UXBOX_DB_PASSWORD=youshouldoverwritethiswithsomethingelse \
|
||||||
|
|
|
@ -81,16 +81,5 @@ LABEL maintainer="mathieu.brunot at monogramm dot io"
|
||||||
# Copy built app to www root
|
# Copy built app to www root
|
||||||
COPY --from=0 /home/uxbox/frontend/dist /usr/share/nginx/html
|
COPY --from=0 /home/uxbox/frontend/dist /usr/share/nginx/html
|
||||||
|
|
||||||
RUN set -ex; \
|
|
||||||
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen; \
|
|
||||||
locale-gen && update-locale LANG=en_US.UTF-8 LC_ALL=C.UTF-8
|
|
||||||
|
|
||||||
|
|
||||||
ENV \
|
|
||||||
# Locale setup
|
|
||||||
LANG=en_US.UTF-8 LC_ALL=C.UTF-8 \
|
|
||||||
# Backend setup
|
|
||||||
API_URL=http://127.0.0.1:6060/api
|
|
||||||
|
|
||||||
# NGINX configurations
|
# NGINX configurations
|
||||||
COPY ./docker-nginx/conf.d /etc/nginx/conf.d
|
COPY ./docker-nginx/conf.d /etc/nginx/conf.d
|
||||||
|
|
Loading…
Add table
Reference in a new issue