forked from is-a-dev/register
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
Latest commit
21 lines (12 loc) · 388 Bytes
/
Copy pathDockerfile
File metadata and controls
21 lines (12 loc) · 388 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM ubuntu:20.04
ENV TERM xterm
RUN ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime
RUN apt-get -y update
RUN apt-get install -y nodejs npm curl wget dnsutils certbot --fix-missing
RUN npm i -g n yarn && n 15.11
RUN node -v
WORKDIR /opt/app
COPY yarn.lock .
COPY package.json .
RUN yarn install
CMD ["sh", "-c", "cp -r node_modules code; cd code; tail -f /dev/null"]