refine dockerfile

This commit is contained in:
2021-01-25 14:44:56 +11:00
parent 8d1646abf1
commit bb28be7408
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -108,10 +108,10 @@ spec:
protocol: TCP
resources:
requests:
cpu: 50m
cpu: 100m
memory: 100Mi
limits:
cpu: 100m
cpu: 200m
memory: 256Mi
imagePullSecrets:
- name: regcred
+3 -2
View File
@@ -7,7 +7,8 @@ COPY . /app
RUN apk update \
&& apk add --no-cache git python alpine-sdk\
&& npm install --ci \
&& npm run build
&& npm ci \
&& npm run build \
&& npm run generate
CMD [ "npm", "start" ]