-
Notifications
You must be signed in to change notification settings - Fork 200
/
Dockerfile
24 lines (17 loc) · 636 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM node:14
LABEL maintainer="froala_git_travis_bot@idera.com"
ARG PackageName
ARG PackageVersion
ARG NexusUser
ARG NexusPassword
COPY . /app
WORKDIR /app/
RUN apt update -y \
&& apt install -y jq unzip wget
RUN echo "Dummy line"
RUN echo "PackageName=$PackageName PackageVersion=$PackageVersion NexusUser=${NexusUser} NexusPassword=${NexusPassword}"
RUN wget --no-check-certificate --user ${NexusUser} --password ${NexusPassword} https://nexus.tools.froala-infra.com/repository/Froala-npm/${PackageName}/-/${PackageName}-${PackageVersion}.tgz
RUN npm install
RUN npm run demo.build
EXPOSE 4200
CMD ["npm","run","start"]