mirror of
https://github.com/Telecominfraproject/wlan-cloud-ui.git
synced 2025-11-01 03:07:53 +00:00
update docker
This commit is contained in:
@@ -23,6 +23,10 @@ RUN rm -f .npmrc
|
|||||||
COPY . ./
|
COPY . ./
|
||||||
|
|
||||||
FROM node:13.12.0-alpine
|
FROM node:13.12.0-alpine
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
EXPOSE 3000
|
||||||
|
|
||||||
COPY --from=build /app /app
|
COPY --from=build /app /app
|
||||||
|
|
||||||
CMD ["npm", "start"]
|
CMD ["npm", "start"]
|
||||||
@@ -5,3 +5,4 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile.test
|
dockerfile: Dockerfile.test
|
||||||
|
command: npm run test
|
||||||
Reference in New Issue
Block a user