Skip to content
Snippets Groups Projects
Commit fb12b3fe authored by Johann Ruiz's avatar Johann Ruiz
Browse files

Editing dockerfile

parent 57bf4dc6
No related branches found
No related tags found
No related merge requests found
Pipeline #10639 passed
......@@ -5,9 +5,10 @@ WORKDIR /vtrc
COPY public/ /vtrc/public
COPY src/ /vtrc/src
COPY package.json package-lock.json tsconfig.json vite.config.ts tsconfig.node.json index.html .eslintrc.cjs /vtrc/
COPY vite.config-docker.ts /vtrc/vite.config.ts
RUN npm ci
EXPOSE 5173
CMD ["npm", "run", "dev", "--", "--host"]
CMD ["npm", "run", "dev"]
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: { port: 80}
})
......@@ -4,4 +4,5 @@ import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: { port: 5175}
})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment