Add Features
* Add DockerFile Deployment * Add Support for Deployment to Oktetopull/4/head
parent
08de221d32
commit
cb5018c1c1
@ -0,0 +1,17 @@
|
||||
FROM node:18.6.0-buster-slim
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci && mkdir /angular && mv ./node_modules ./angular
|
||||
|
||||
WORKDIR /angular
|
||||
RUN npm install -g @angular/cli
|
||||
|
||||
COPY . .
|
||||
ADD okteto-stack.yaml okteto-stack.yaml
|
||||
COPY . .
|
||||
|
||||
EXPOSE 32333
|
||||
|
||||
CMD ["bash", "run.sh"]
|
@ -0,0 +1,5 @@
|
||||
build:
|
||||
docker:
|
||||
web: Dockerfile
|
||||
run:
|
||||
web: bash run.sh
|
@ -0,0 +1,15 @@
|
||||
services:
|
||||
bifm-bypass:
|
||||
public: true
|
||||
build: .
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
ports:
|
||||
- 32333
|
||||
resources:
|
||||
requests:
|
||||
cpu: 500m
|
||||
memory: 1000Mi
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 2000Mi
|
Loading…
Reference in New Issue