misc: add support for VSCode remote development (#1533)

* Add support for VSCode remote development

* misc: remote dev containers fixes

Co-authored-by: Nicolas Giard <github@ngpixel.com>
This commit is contained in:
Lukas Frischknecht
2020-02-28 22:49:18 +01:00
committed by GitHub
parent fba9e0058f
commit a90dc8d5b5
21 changed files with 52 additions and 507 deletions

18
dev/containers/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
# -- DEV DOCKERFILE --
# -- DO NOT USE IN PRODUCTION! --
FROM node:12-alpine
LABEL maintainer "requarks.io"
RUN apk update && \
apk add bash curl git python make g++ nano openssh gnupg --no-cache && \
mkdir -p /wiki
WORKDIR /wiki
ENV dockerdev 1
ENV DEVDB postgres
EXPOSE 3000
CMD ["tail", "-f", "/dev/null"]