mirror of
https://github.com/Telecominfraproject/wlan-cloud-ui.git
synced 2025-11-02 03:37:59 +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"]
|
||||||
@@ -4,4 +4,5 @@ services:
|
|||||||
sut:
|
sut:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile.test
|
dockerfile: Dockerfile.test
|
||||||
|
command: npm run test
|
||||||
Reference in New Issue
Block a user