Spaces:
Sleeping

lucas-dev / Dockerfile
lemachinarbo
fresh start
90b3952
Raw History Blame Contribute Delete
352 Bytes
# Use Node.js as the base image
FROM node:22
# Set the working directory inside the container
WORKDIR /app
# Copy package files and install dependencies
COPY package.json package-lock.json ./
RUN npm install
# Copy the full project
COPY . .
# Expose the port Fastify runs on
EXPOSE 7860
# Start the Fastify server
CMD ["node", "server/server.js"]