20 lines
342 B
Plaintext
20 lines
342 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
|
|
|
|
# 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"]
|