ERROR418/lora-studio
0
1# Dockerfile2# Use an official Node.js runtime as the base image3FROM node:184USER 10005 6# Set the working directory in the container7WORKDIR /usr/src/app8 9# Copy package.json and package-lock.json to the container10COPY --chown=1000 package.json package-lock.json ./11 12# Install dependencies13RUN npm install14 15# Copy the rest of the application files to the container16COPY --chown=1000 . .17RUN chmod +x entrypoint.sh18 19# Expose the application port (assuming your app runs on port 3000)20EXPOSE 300021 22# Create symlink23# RUN mkdir -p ./static/data && ln -s /data/uploads ./static/data/uploads24 25# Start the application26ENTRYPOINT ["/usr/src/app/entrypoint.sh"]