Upgraded windows images to 20h2

This commit is contained in:
2022-04-05 02:42:09 +09:00
parent 2ede966b71
commit ec55e174db
9 changed files with 32 additions and 25 deletions

View File

@@ -1,9 +1,7 @@
FROM alpine:latest
FROM alpine:3.15.3
WORKDIR /app
RUN mkdir -p /opt/utils
RUN wget -O /opt/utils/closure.jar "https://github.com/tgckpg/BotanJS/releases/download/compressors/closure.jar"
RUN wget -O /opt/utils/yuicompressor.jar "https://github.com/tgckpg/BotanJS/releases/download/compressors/yuicompressor.jar"
RUN apk add --update bash python3 uwsgi uwsgi-python openjdk11-jre-headless; python3 -m ensurepip
@@ -12,9 +10,16 @@ RUN chown www-data:www-data . -R
RUN pip3 install Flask redis compressinja Celery
COPY . /app/
ADD [ "https://github.com/tgckpg/BotanJS/releases/download/compressors/closure.jar" \
, "https://github.com/tgckpg/BotanJS/releases/download/compressors/yuicompressor.jar" \
, "/opt/utils/" ]
RUN chmod 644 /opt/utils/*.jar
USER www-data
EXPOSE 5000
ENTRYPOINT ["setup/docker.start"]
COPY . /app/