añado cosas
parent
b52e79acac
commit
444bfbb60a
@ -0,0 +1,24 @@
|
||||
FROM node:18
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# COPY package.json and package-lock.json files
|
||||
COPY package*.json ./
|
||||
|
||||
COPY vite.config.js ./
|
||||
|
||||
# COPY tsconfig.json file
|
||||
COPY jsconfig.json ./
|
||||
|
||||
# COPY
|
||||
COPY . .
|
||||
|
||||
RUN npm install
|
||||
|
||||
RUN npm run build
|
||||
|
||||
RUN [ "chmod", "+x", "/app/start.sh"]
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD [ "/app/start.sh" ]
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"schemaVersion": 2,
|
||||
"dockerfilePath": "./Dockerfile"
|
||||
}
|
Loading…
Reference in New Issue