1
0
mirror of https://github.com/1C-Company/docker_fresh.git synced 2025-01-24 03:16:39 +02:00
docker_fresh/images/site/Dockerfile
2020-04-07 17:03:09 +03:00

13 lines
330 B
Docker

FROM tomcat:7.0-jre8-alpine
ENV JAVA_OPTS "${JAVA_OPTS} -Xms512m -Xmx1024m -XX:+UseParallelGC -server "
RUN rm -rf /usr/local/tomcat/webapps/* && \
mkdir -p /var/www/content/searchIndex \
mkdir -p /var/www/content/site_files
COPY ./distr/site/ROOT.war /usr/local/tomcat/webapps/
EXPOSE 8080
CMD ["catalina.sh", "run"]