forked from Botanical/BotanJS
Added RespH Snippet
This commit is contained in:
@@ -6,7 +6,6 @@ RUN mkdir -p /opt/utils
|
||||
RUN apk add --update bash python3 uwsgi uwsgi-python openjdk11-jre-headless; python3 -m ensurepip
|
||||
|
||||
RUN echo "www-data:x:1001:1001:www-data:/var/www:/usr/sbin/nologin" >> /etc/passwd; echo "www-data:x:1001:" >> /etc/group
|
||||
RUN chown www-data:www-data . -R
|
||||
|
||||
RUN pip3 install Flask redis compressinja Celery
|
||||
|
||||
@@ -14,10 +13,11 @@ ADD [ "https://github.com/tgckpg/BotanJS/releases/download/compressors/closure.j
|
||||
, "https://github.com/tgckpg/BotanJS/releases/download/compressors/yuicompressor.jar" \
|
||||
, "/opt/utils/" ]
|
||||
|
||||
RUN chmod 644 /opt/utils/*.jar
|
||||
|
||||
COPY . /app/
|
||||
|
||||
RUN chmod 644 /opt/utils/*.jar; \
|
||||
chown www-data:www-data . -R
|
||||
|
||||
USER www-data
|
||||
|
||||
EXPOSE 5000
|
||||
|
Reference in New Issue
Block a user