feat(): add dockerfile

This commit is contained in:
Aleksander Wilczyński 2025-03-19 01:13:45 +01:00
parent fe578fe891
commit 5fc524d3a0
Signed by: alekswilc
GPG Key ID: D4464A248E5F27FE

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM node:18-alpine
WORKDIR /app
COPY package.json .
RUN npm install
RUN npm i -g serve vite
COPY . .
RUN npm run build
EXPOSE 3000
CMD [ "serve", "-s", "dist" ]