This commit is contained in:
Pitchaya Boonsarngsuk
2019-07-05 16:54:32 +01:00
commit c3d3dcbff7
96 changed files with 32248 additions and 0 deletions

19
admin/Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM node:11.5-alpine
RUN mkdir -p /usr/src/admin
WORKDIR /usr/src/admin
# Prevent the reinstallation of node modules at every changes in the source code
COPY package.json yarn.lock ./
RUN apk add --no-cache --virtual .gyp \
python \
make \
g++ \
&& yarn install \
&& apk del .gyp
COPY . ./
CMD yarn start