The source code for my personal website
https://yarmo.eu
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
222 B
17 lines
222 B
FROM node:12
|
|
|
|
# Create app directory
|
|
WORKDIR /usr/src/app
|
|
|
|
# Install app dependencies
|
|
COPY package*.json ./
|
|
|
|
RUN npm install --production
|
|
|
|
# Bundle app source
|
|
COPY . .
|
|
|
|
VOLUME /data
|
|
|
|
EXPOSE 3000
|
|
CMD [ "node", "index.js" ]
|