mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
20 lines
292 B
Docker
20 lines
292 B
Docker
FROM node:20-alpine
|
|
|
|
# Install pnpm
|
|
RUN npm install -g pnpm
|
|
|
|
# Set working directory
|
|
WORKDIR /app
|
|
|
|
# Copy the mock-oauth-server files
|
|
COPY apps/mock-oauth-server ./
|
|
|
|
# Install dependencies
|
|
RUN pnpm install
|
|
|
|
# Set environment variables
|
|
ENV PORT=32202
|
|
|
|
# Start the server
|
|
CMD ["pnpm", "start"]
|