Refactoring
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user