adding compose for launching properly everything

This commit is contained in:
2024-03-30 23:23:33 +01:00
parent 9e0db361b8
commit 0e26e1a0db
7 changed files with 68 additions and 42 deletions

11
frontend/Dockerfile Normal file
View File

@ -0,0 +1,11 @@
# https://v2.vuejs.org/v2/cookbook/dockerize-vuejs-app
FROM node:lts-alpine
RUN npm install -g http-server
WORKDIR /app/front
COPY package*.json ./
RUN npm install
COPY . .
ENV VITE_CLYDE_MODE=container
RUN npm run build
EXPOSE 8080
CMD [ "http-server", "dist" ]