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"]

 

posted @ 2024-11-01 09:06  信念是基石心学Plus版  阅读(4)  评论(0编辑  收藏  举报
跟随粒子特效