...
This commit is contained in:
parent
966e343c92
commit
0ea959f7ca
@ -1,9 +1,11 @@
|
||||
FROM node:18.15.0
|
||||
FROM ubuntu:20.04
|
||||
EXPOSE 3999
|
||||
EXPOSE 3010
|
||||
EXPOSE 3011
|
||||
WORKDIR /works/jc/r2/game-server
|
||||
RUN apt-get update && apt-get install -y sysstat
|
||||
RUN apt-get update && apt-get install -y sysstat curl
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
|
||||
RUN apt-get install -y nodejs
|
||||
RUN mkdir -p /works/jc/r2
|
||||
COPY . /works/jc/r2
|
||||
RUN npm install
|
||||
|
@ -13,11 +13,11 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: r2server
|
||||
image: r2server:v1
|
||||
image: localhost:5550/r2server:v1
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
memory: "256Mi"
|
||||
cpu: "500m"
|
||||
ports:
|
||||
- containerPort: 3999
|
||||
|
Loading…
x
Reference in New Issue
Block a user