Commit 84ebb4f8 authored by LAVENIER's avatar LAVENIER
Browse files

[fix] CI minor changes

parent f20bd5dd
FROM openjdk:8-jdk-alpine
ARG WAR_FILE=app.war
ARG CONFIG_FILES=config/*.properties
RUN apt-get update && apt-get -y install libsodium-dev
RUN get update && apt -y install libsodium-dev
RUN addgroup -S spring && adduser -S spring -G spring
USER spring:spring
RUN mkdir /app
COPY app.sh /app/app.sh
RUN chmod +x /app/app.sh
COPY ${WAR_FILE} /app/app.war
COPY ${CONFIG_FILES} /app/config/
WORKDIR /app
COPY app.sh app.sh
RUN chmod +x app.sh
COPY ${WAR_FILE} app.war
COPY ${CONFIG_FILES} config/
ENV PORT=8080 \
TZ=UTC \
PROFILES=default
WORKDIR /app
EXPOSE ${PORT}
ENTRYPOINT ["app.sh"]
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment