docker大杂烩(完善中)
FROM debian:latest RUN apt-get update && apt-get install -y openjdk-17-jdk RUN apt-get install -y redis-server RUN apt-get install -y nginx COPY backend/target/your-spring-boot-app.jar /app.jar COPY frontend/build/ /var/www/html COPY nginx.conf /etc/nginx/nginx.conf COPY redis.conf /etc/redis/redis.conf EXPOSE 80 COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"]
信念是基石心学Plus版 :痛苦预示着超脱
本文来自博客园,作者:信念是基石心学Plus版,转载请注明原文链接:https://www.cnblogs.com/supperlhg/p/18519297