docker stuff
This commit is contained in:
parent
097460d83c
commit
4e7277d4f3
19
Dockerfile
Executable file
19
Dockerfile
Executable file
@ -0,0 +1,19 @@
|
||||
FROM ubuntu:artful
|
||||
|
||||
RUN apt-get update
|
||||
|
||||
# node stuff
|
||||
RUN apt-get install -y nodejs npm
|
||||
|
||||
COPY package.json package-lock.json /data/
|
||||
COPY src /data/src
|
||||
COPY public /data/public
|
||||
|
||||
RUN cd /data && npm i
|
||||
|
||||
WORKDIR /data
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["node", "src/index.js"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user