mirror of
https://github.com/shiroikitsu8/Bayshore_6r_legacy.git
synced 2024-09-24 01:28:19 +02:00
remove docker
This commit is contained in:
parent
d814a1b4a9
commit
8275339913
@ -1,5 +0,0 @@
|
||||
dist/
|
||||
.git/
|
||||
*.example
|
||||
*.example.json
|
||||
*.bat
|
@ -1,7 +1,4 @@
|
||||
POSTGRES_URL=postgresql://user:password@your-host:5432/database
|
||||
ALLNET_PORT=20080
|
||||
MUCHA_PORT=10082
|
||||
SERVICE_PORT=9002
|
||||
API_PORT=9003
|
||||
OPENTELEMETRY_ENABLED=false
|
||||
OPENTELEMETRY_OTLP_URI=disregard-this
|
||||
SERVICE_PORT=9002
|
33
Dockerfile
33
Dockerfile
@ -1,33 +0,0 @@
|
||||
FROM node:18-alpine
|
||||
|
||||
WORKDIR /server
|
||||
|
||||
# Copy the package file over
|
||||
COPY package*.json ./
|
||||
|
||||
# tsconfig definitions
|
||||
COPY tsconfig*.json ./
|
||||
|
||||
# Copy the entire app source tree
|
||||
COPY . .
|
||||
|
||||
# Copy game configuration file
|
||||
COPY config.json .
|
||||
|
||||
RUN npm install
|
||||
|
||||
# ALLnet
|
||||
EXPOSE 80
|
||||
# Mucha
|
||||
EXPOSE 10082
|
||||
# Service
|
||||
EXPOSE 9002
|
||||
|
||||
# Compile protobuf definitions
|
||||
RUN npm run build_protos
|
||||
|
||||
# Compile the application source code
|
||||
RUN npx tsc
|
||||
|
||||
# Entrypoint
|
||||
CMD ["node", "dist"]
|
Loading…
Reference in New Issue
Block a user