Files
HKSingleParty/03_source/frontend/dockerfile

18 lines
332 B
Plaintext

# Use official Node 18 base image
FROM node:20-slim
# Install pnpm globally
RUN npm install -g pnpm
RUN apt-get update
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 ["yarn start"]