0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 06:58:58 -05:00

🚧 🐳 Build release images

This commit is contained in:
mathieu.brunot 2019-02-15 01:21:59 +01:00
parent 8e97638e15
commit c44a1e0c0b
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0
2 changed files with 1 additions and 23 deletions

View file

@ -79,22 +79,13 @@ VOLUME /srv/uxbox/resources/public
WORKDIR /srv/uxbox/
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/static;
ENV \
# Locale setup
LANG=en_US.UTF-8 LC_ALL=C.UTF-8 \
# Application configuration
UXBOX_CONFIG=/srv/uxbox/config/application.properties \
# Security setup
ENV UXBOX_CONFIG=/srv/uxbox/config/application.properties \
UXBOX_SECRET=youshouldoverwritethiswithsomethingelse \
# Debug setup
UXBOX_DEBUG=false \
# STMP setup
UXBOX_SMTP_HOST=localhost \
UXBOX_SMTP_PORT=25 \
UXBOX_SMTP_USER=uxbox \
@ -102,10 +93,8 @@ ENV \
UXBOX_SMTP_SSL=false \
UXBOX_SMTP_TLS=false \
UXBOX_SMTP_ENABLED=false \
# Mail setup
UXBOX_MAIL_REPLY=no-reply@uxbox.io \
UXBOX_MAIL_FROM=no-reply@uxbox.io \
# Database setup
UXBOX_DB_TYPE=postgresql \
UXBOX_DB_USER=uxbox \
UXBOX_DB_PASSWORD=youshouldoverwritethiswithsomethingelse \

View file

@ -81,16 +81,5 @@ LABEL maintainer="mathieu.brunot at monogramm dot io"
# Copy built app to www root
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
COPY ./docker-nginx/conf.d /etc/nginx/conf.d