ervu-eks/config/Dockerfile.tc

19 lines
465 B
Text
Raw Normal View History

2025-11-20 09:56:15 +03:00
ARG RUNTIME_IMAGE=reg.gitlab.micord.ru/common/base/alt/alt-p11-jre21:latest
2025-10-21 10:58:55 +03:00
FROM $RUNTIME_IMAGE
RUN apt-get update \
2025-10-21 11:26:15 +03:00
&& apt-get -y install nginx
2025-10-21 10:58:55 +03:00
ENV BACKEND_URL=http://localhost:8080
ENV CONFIG_DATA_EXECUTOR_URL=http://localhost:8080/api
COPY nginx.conf /etc/nginx/nginx.conf
COPY dist /usr/share/nginx/html
COPY backend.jar /home/app/backend.jar
COPY config-data-executor.jar /home/app/cde.jar
EXPOSE 80
ENTRYPOINT ["java", "-jar", "/home/app/backend.jar"]