Spaces:
Sleeping
Sleeping
File size: 368 Bytes
d9191ca 45b9bf0 d9191ca 45b9bf0 d9191ca 36790de d9191ca |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
FROM node:16
# Set working directory
WORKDIR /code
# Copy Node.js application files
COPY ./index.js /code/index.js
COPY ./package.json /code/package.json
COPY ./package-lock.json /code/package-lock.json
# Install Node.js dependencies
RUN npm install
# Copy Python application files
# Expose port
EXPOSE 7860
# Start Node.js application
CMD ["node", "index.js"]
|