arbproxy / Dockerfile
Arbitrage01's picture
Upload 5 files
177b13f verified
Raw History Blame Contribute Delete
522 Bytes
# Use the official Playwright image which comes with all system dependencies and browsers
FROM mcr.microsoft.com/playwright:v1.43.0-jammy
# Create and change to the app directory
WORKDIR /usr/src/app
# Copy package.json and package-lock.json
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of the application code
COPY . .
# Expose the port the app runs on
EXPOSE 3000
# Set environment variables
ENV NODE_ENV=production
ENV PORT=3000
# Start the application
CMD [ "node", "proxy.js" ]