stack/docker/mock-oauth-server/Dockerfile
2025-02-13 18:57:02 +01:00

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"]