Files
bitmappery/dockerfile
formless63 c96e42ceab Upgrade Node.js base image to version 24-alpine (#101)
* Upgrade Node.js base image to version 24-alpine

Current dockerfile fails to build. Updating Node.js base image from version 20 to 24 brings it to the current LTS and builds successfully for me.

* removed unnecessary yarn install step
2026-06-17 20:02:56 +02:00

22 lines
391 B
Plaintext

# Written by Ange Cesari
# Use official Node.js based on Alpine
FROM node:24-alpine
# Create dir for application
WORKDIR /usr/src/app
# Copy package.json
COPY package.json ./
# Install dependencies
RUN yarn install
# Copy the rest of the application code
COPY . .
# Expose the port the application will run on
EXPOSE 5173
# Run the application
CMD ["yarn", "dev", "--host", "0.0.0.0"]