Restructure

This commit is contained in:
Arnie
2017-12-24 17:35:49 +01:00
parent 9d42de5bb9
commit d9163bcff8
7 changed files with 307 additions and 50 deletions
+10 -3
View File
@@ -22,10 +22,17 @@ RUN yarn add prettier csscomb --global && \
ln -s /node_modules/.bin/prettier /usr/local/bin/prettier && \
ln -s /node_modules/.bin/csscomb /usr/local/bin/csscomb
COPY ["format.sh", "/"]
COPY ["src/entry.sh", "/entry.sh"]
COPY ["src/inc", "/inc"]
WORKDIR /code
CMD ["/format.sh"]
CMD ["/entry.sh"]
ENTRYPOINT ["/format.sh"]
ENTRYPOINT ["/entry.sh"]
ARG VERSION
ARG COMMIT_SHA
ENV VERSION=$VERSION
ENV COMMIT_SHA=$COMMIT_SHA