1
0
forked from noxious/server
This commit is contained in:
Dennis Postma 2025-02-07 02:07:10 +01:00
parent 7e2c5eb529
commit 733a1c4956

View File

@ -8,16 +8,13 @@ RUN npm run build
# Production stage # Production stage
FROM node:23.7.0-alpine FROM node:23.7.0-alpine
LABEL maintainer="Your Name"
LABEL version="1.0"
LABEL description="NQ Server Application"
# Install dependencies with versions # Install dependencies with versions
RUN apk add --no-cache \ RUN apk add --no-cache \
redis=7.0.15-r0 \ redis=7.4.2-r0 \
mysql=10.11.6-r0 \ mysql=10.11.6-r0 \
mysql-client=10.11.6-r0 \ mysql-client=10.11.6-r0 \
tmux=3.3a-r0 tmux=3.5a-r0
# Create non-root user # Create non-root user
RUN addgroup -S appgroup && adduser -S appuser -G appgroup RUN addgroup -S appgroup && adduser -S appuser -G appgroup