Docker tweaks
This commit is contained in:
parent
78d4c8b874
commit
9226bf2799
|
@ -8,13 +8,16 @@ RUN apk add --no-cache --update\
|
||||||
git \
|
git \
|
||||||
gettext \
|
gettext \
|
||||||
make \
|
make \
|
||||||
python
|
python \
|
||||||
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
COPY package*.json /app/frontend/
|
||||||
|
WORKDIR /app/frontend
|
||||||
|
RUN npm install -g npm serve \
|
||||||
|
&& npm install \
|
||||||
|
&& npm cache clean --force
|
||||||
|
|
||||||
COPY . /app/frontend
|
COPY . /app/frontend
|
||||||
WORKDIR /app/frontend
|
|
||||||
|
|
||||||
RUN npm install -g npm serve
|
|
||||||
RUN npm install
|
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Default ENV values
|
# Default ENV values
|
||||||
|
|
Loading…
Reference in New Issue