Frontend Docker Deployment
This commit is contained in:
12
client-tauri/Dockerfile
Normal file
12
client-tauri/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
# Use an existing image as a base
|
||||
FROM node:22.2.0-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN npm i -g serve
|
||||
|
||||
COPY ./dist ./dist
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD [ "serve", "-s", "dist" ]
|
||||
Reference in New Issue
Block a user