Update dockerfile
parent
d58307e860
commit
2be15aa0f9
|
@ -1,16 +1,11 @@
|
||||||
FROM node:16.15.0
|
FROM node:16.15.0
|
||||||
|
|
||||||
# Create the directory!
|
|
||||||
RUN mkdir -p /usr/hullcss
|
RUN mkdir -p /usr/hullcss
|
||||||
WORKDIR /usr/hullcss
|
WORKDIR /usr/hullcss
|
||||||
|
|
||||||
# Copy and Install our bot
|
|
||||||
COPY package.json /usr/hullcss
|
COPY package.json /usr/hullcss
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
# Our precious bot
|
|
||||||
COPY . /usr/hullcss
|
COPY . /usr/hullcss
|
||||||
|
|
||||||
# Start me!
|
|
||||||
VOLUME ["latest"]
|
|
||||||
CMD ["node", "index.js"]
|
CMD ["node", "index.js"]
|
Loading…
Reference in New Issue