mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 23:09:29 -07:00
16 lines
195 B
Text
16 lines
195 B
Text
|
FROM node:12
|
||
|
|
||
|
# Create app directory
|
||
|
WORKDIR /usr/src/app
|
||
|
|
||
|
# Install app dependencies
|
||
|
COPY package*.json ./
|
||
|
|
||
|
RUN npm install
|
||
|
|
||
|
# Bundle app source
|
||
|
COPY . .
|
||
|
|
||
|
EXPOSE 3000
|
||
|
CMD [ "node", "index.js" ]
|