automate update to newest version in Dockerfile

This commit is contained in:
Michi 2025-05-02 15:20:32 +02:00
parent afce0130e1
commit ba8c1eba86

View file

@ -3,10 +3,14 @@ FROM node:22-alpine
RUN mkdir app RUN mkdir app
WORKDIR /app/ WORKDIR /app/
COPY git/ . RUN apk update && apk add git
RUN git clone https://github.com/bjgedeon/Frontend-M241-245.git
WORKDIR /app/Frontend-M241-245
RUN npm install RUN npm install
EXPOSE 8080 EXPOSE 5173
CMD [ "npm", "run", "dev", "--", "--host", "0.0.0.0" ] CMD [ "npm", "run", "dev", "--", "--host", "0.0.0.0" ]