Commit 23785cf2 authored by Anton's avatar Anton

Add entrypoint script for expanding secrets as env variables

parent b54b860e
Pipeline #16802 passed with stage
in 1 minute and 24 seconds
FROM node:10 FROM node:10
MAINTAINER Motion Bank MAINTAINER Motion Bank
COPY .docker-lib/scripts/entrypoint.sh /usr/local/bin/
COPY .docker-lib/scripts/env_secrets_expand.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/*.sh
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN rm -rf node_modules RUN rm -rf node_modules
RUN npm install --production RUN npm install --production
EXPOSE 3030 EXPOSE 3030
CMD ["node", "src"] ENTRYPOINT ["entrypoint.sh", "node", "src"]
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