tests: add a test for dockerfile-path
This commit is contained in:
15
tests/apps/dockerfile/second.Dockerfile
Normal file
15
tests/apps/dockerfile/second.Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM node:4-alpine
|
||||
|
||||
RUN apk add --no-cache bash
|
||||
|
||||
EXPOSE 3001/udp
|
||||
EXPOSE 3000/tcp
|
||||
EXPOSE 3003
|
||||
|
||||
COPY . /var/www/html
|
||||
WORKDIR /var/www/html
|
||||
RUN npm install
|
||||
|
||||
RUN echo hi
|
||||
|
||||
CMD npm start
|
||||
Reference in New Issue
Block a user