Initial commit. Add application skeleton

This commit is contained in:
2019-02-16 12:29:33 +07:00
commit 03ce30468c
25 changed files with 8395 additions and 0 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:10.15.0-alpine
RUN npm config set cache /opt/pub/.npm
RUN apk upgrade --update \
&& apk add --no-cache curl yarn git
RUN yarn global add @vue/cli
ARG WEB_USER_ID=33
ARG WEB_USER_NAME=www-data
RUN echo "Building for web user: id=${WEB_USER_ID} name=${WEB_USER_NAME}"
RUN adduser -D -u ${WEB_USER_ID} ${WEB_USER_NAME} || echo "Users exists"
USER ${WEB_USER_ID}
CMD ["yarn", "serve"]