feat: changed Dockerfile

This commit is contained in:
filippo-ferrari 2024-09-06 20:13:25 +02:00
parent 78329b6e45
commit 1b4abd03c0

View file

@ -1,6 +1,9 @@
# Use a Maven image with OpenJDK 22 to build the JAR # Use a Maven image with OpenJDK 22 to build the JAR
FROM maven:3.9.4-eclipse-temurin-21-alpine AS build FROM maven:3.9.4-eclipse-temurin-21-alpine AS build
# Install Node.js (needed for Vaadin frontend tooling)
RUN apk add --no-cache nodejs npm
# Set the working directory # Set the working directory
WORKDIR /app WORKDIR /app