forked from wonderslug/MMM-HomeAssistantDisplay
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.dev
More file actions
16 lines (14 loc) · 871 Bytes
/
Dockerfile.dev
File metadata and controls
16 lines (14 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.183.0/containers/javascript-node/.devcontainer/base.Dockerfile
# [Choice] Node.js version: 16, 14, 12
ARG VARIANT="16-buster"
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
# [Optional] Uncomment this section to install additional OS packages.
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends \
git \
&& mkdir -p /workspaces \
&& chown node /workspaces \
&& su node -c "cd /workspaces && git clone https://github.com/MichMich/MagicMirror" \
&& su node -c "cd /workspaces/MagicMirror && npm install" \
&& su node -c "cd /workspaces/MagicMirror && cp config/config.js.sample config/config.js" \
&& su node -c "cd /workspaces/MagicMirror && npm install pm2 -g"