-
Stephen C Phillips authoredStephen C Phillips authored
Dockerfile_deployment 340 B
ARG GCP_HOST
ARG GCP_PROJECT_ID
FROM $GCP_HOST/$GCP_PROJECT_ID/ssm-base:alpine
COPY ./build ./build
COPY ./docker/deploy.sh .
# RUN lines are executed when the image is built
RUN mv ./build/libs/*.war ./
RUN rm -rf /build/*
RUN ls -l
RUN chmod +x ./deploy.sh
# CMD is run when a container (created from the image) boots
CMD ./deploy.sh