mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-07-07 04:14:31 +00:00
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! perf: build frontend once on runner instead of in Docker
This commit is contained in:
+3
-2
@@ -35,8 +35,9 @@ EOF
|
|||||||
|
|
||||||
RUN chmod +x /docker-entrypoint.d/40-inject-config.sh
|
RUN chmod +x /docker-entrypoint.d/40-inject-config.sh
|
||||||
|
|
||||||
# Create nginx configuration template with backend proxy support
|
# Create nginx templates directory and configuration template with backend proxy support
|
||||||
RUN cat > /etc/nginx/templates/default.conf.template <<'EOF'
|
RUN mkdir -p /etc/nginx/templates && \
|
||||||
|
cat > /etc/nginx/templates/default.conf.template <<'EOF'
|
||||||
# Upstream backend server
|
# Upstream backend server
|
||||||
upstream backend {
|
upstream backend {
|
||||||
server ${BACKEND_HOST}:${BACKEND_PORT};
|
server ${BACKEND_HOST}:${BACKEND_PORT};
|
||||||
|
|||||||
Reference in New Issue
Block a user