Files
HKSingleParty/03_source/cms_backend/dockerfile

21 lines
374 B
Plaintext

# Use official Node 18 base image
FROM node:20-slim
# Install pnpm globally
RUN npm install -g pnpm
RUN apt-get update -y
RUN apt-get install -y openssl
RUN apt-get install -qqy psmisc
# Set working directory
WORKDIR /app
# Copy your application code (optional, comment out if not needed)
COPY . /app
RUN yarn
# Default command (optional)
CMD ["sh","./entrypoint.sh"]