script 파일 정리

This commit is contained in:
hyeonsu
2025-08-28 11:27:15 +09:00
parent a60ff64c54
commit e031d54795
36 changed files with 97 additions and 1788 deletions

View File

@@ -1,20 +0,0 @@
FROM localhost:8787/tomcat:7.0.94-jre7-alpine.linux AS production
# Remove default webapps
RUN rm -rf /usr/local/tomcat/webapps/*
# Copy web application content (compiled classes and web resources)
COPY WebContent /usr/local/tomcat/webapps/ROOT
COPY src /usr/local/tomcat/webapps/ROOT/WEB-INF/src
# Copy custom Tomcat context configuration for JNDI
COPY ./tomcat-conf/context.xml /usr/local/tomcat/conf/context.xml
# Copy database driver if needed (PostgreSQL driver is already in WEB-INF/lib)
# COPY path/to/postgresql-driver.jar /usr/local/tomcat/lib/
# Expose Tomcat port
EXPOSE 8080
# Start Tomcat
CMD ["catalina.sh", "run"]