mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-24 13:33:05 +00:00
12 lines
209 B
Docker
12 lines
209 B
Docker
# Setup env
|
|
FROM node:10-alpine
|
|
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"]
|