Allow dockerfile to build (#33)

The current dependency jsdom@23.2.0 requires node >=18. Tested build and runtime
This commit is contained in:
kenn
2024-05-12 09:41:56 +01:00
committed by GitHub
parent 57817031fc
commit 0d0140b8e7

View File

@@ -1,6 +1,6 @@
# Written by Ange Cesari
# Use official Node.js based on Alpine
FROM node:16-alpine
FROM node:18-alpine
# Install Yarn
RUN apk add --no-cache yarn
@@ -21,4 +21,4 @@ COPY . .
EXPOSE 5173
# Run the application
CMD ["yarn", "dev", "--host", "0.0.0.0"]
CMD ["yarn", "dev", "--host", "0.0.0.0"]