stuff
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM debian:11-slim
|
||||
|
||||
# set work dir
|
||||
WORKDIR /root/
|
||||
|
||||
# Initial update repo and upgrade packges # Make dir for freezer app files
|
||||
|
||||
RUN apt update \
|
||||
&& apt upgrade -y \
|
||||
&& apt install nodejs -y --no-install-recommends \
|
||||
&& apt auto-remove -y \
|
||||
&& apt clean -y \
|
||||
&& mkdir /root/freezer/
|
||||
|
||||
# Copy files to freezer app dir
|
||||
COPY buildfiles/ /root/freezer/
|
||||
|
||||
# Start service
|
||||
CMD ["/usr/bin/node", "/root/freezer/app/main.js"]
|
||||
Reference in New Issue
Block a user