mirror of
https://github.com/wahyd4/badger.git
synced 2026-08-09 05:15:58 +10:00
refine dockerfile
This commit is contained in:
+2
-2
@@ -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
@@ -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" ]
|
||||
|
||||
Reference in New Issue
Block a user