mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 21:01:23 +00:00
13 lines
195 B
Text
13 lines
195 B
Text
|
# Setup env
|
||
|
FROM node:10
|
||
|
RUN mkdir -p /opt/lemmy/ui--dev
|
||
|
WORKDIR /opt/lemmy/ui--dev
|
||
|
# Install deps
|
||
|
COPY package.json .
|
||
|
COPY yarn.lock .
|
||
|
RUN npm install
|
||
|
# Add app
|
||
|
COPY . .
|
||
|
# Run app
|
||
|
CMD npm start
|