1
0
mirror of https://github.com/shiroikitsu8/Bayshore_6r_legacy.git synced 2024-09-23 17:18:20 +02:00

remove docker

This commit is contained in:
Shiroi Kitsu 2023-05-23 12:01:44 +07:00
parent d814a1b4a9
commit 8275339913
3 changed files with 1 additions and 42 deletions

View File

@ -1,5 +0,0 @@
dist/
.git/
*.example
*.example.json
*.bat

View File

@ -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

View File

@ -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"]