Spaces:
Build error
Build error
# Use an official Node.js runtime as the base image | |
FROM node:18 | |
# Install the application dependencies | |
RUN npm install | |
# Build the application | |
RUN npm run build | |
# Expose port 3000 for the application | |
EXPOSE 3000 | |
# Define the command to run the application | |
CMD ["npm", "run", "start"] |