Spaces:
Paused
Paused
File size: 480 Bytes
363928f 353a876 19615a6 363928f 8049fc4 363928f 75c8299 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# Use the official Node.js image as the base image
FROM node:18
# Set the working directory inside the container
WORKDIR /app
# Clone the code from the GitHub repository
RUN git clone https://github.com/jokyo02/cli-worker .
# Install the dependencies
RUN npm install
RUN npm ls miniflare
RUN ls -al ./node_modules/miniflare/dist/src
# Expose the port that your application is listening on
EXPOSE 8080
# Start the application
CMD ["node", "--experimental-vm-modules", "cli.js"] |