From b788deb002aab83fc127d1a8b3f47670258dbb6a Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 3 Dec 2018 16:05:24 +0200 Subject: - Add CORS https://enable-cors.org/server_meteor.html - Add missing LDAP and TIMER environment variables. Thanks to xet7 ! Closes wekan/wekan-snap#69 --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 96749eb0..966e0e1d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,6 +69,7 @@ ARG LOGOUT_WITH_TIMER ARG LOGOUT_IN ARG LOGOUT_ON_HOURS ARG LOGOUT_ON_MINUTES +ARG CORS # Set the environment variables (defaults where required) # DOES NOT WORK: paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303 @@ -140,7 +141,8 @@ ENV BUILD_DEPS="apt-utils bsdtar gnupg gosu wget curl bzip2 build-essential pyth LOGOUT_WITH_TIMER="false" \ LOGOUT_IN="" \ LOGOUT_ON_HOURS="" \ - LOGOUT_ON_MINUTES="" + LOGOUT_ON_MINUTES="" \ + CORS="" # Copy the app to the image COPY ${SRC_PATH} /home/wekan/app -- cgit v1.2.3-1-g7c22