Refactoring
This commit is contained in:
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@@ -0,0 +1 @@
|
||||
node_modules
|
||||
@@ -10,7 +10,9 @@ FROM base AS app
|
||||
RUN npm i -g serve
|
||||
WORKDIR ./app
|
||||
# COPY ./app/dist ./app/dist
|
||||
COPY ./app ./app
|
||||
COPY ./app .
|
||||
RUN npm install
|
||||
EXPOSE 8080
|
||||
# CMD [ "serve", "-s", "app/dist", "-p", "8080" ]
|
||||
CMD ["npm", "run", "dev"]
|
||||
CMD ["npm", "run", "dev"]
|
||||
# ENTRYPOINT ["tail", "-f", "/dev/null"]
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "app",
|
||||
"private": true,
|
||||
"version": "0.0.14",
|
||||
"version": "0.0.15",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
Reference in New Issue
Block a user