Spaces:
Sleeping
Sleeping
File size: 522 Bytes
177b13f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # 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" ]
|