diff --git a/.gitpod.yml b/.gitpod.yml index ca95111..daf4396 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -6,4 +6,5 @@ tasks: - init: npm install && npm run build command: npm run start -image: gitpod/workspace-node:latest +image: + file: Dockerfile.dev \ No newline at end of file diff --git a/Dockerfile.dev b/Dockerfile.dev index 184f0ef..d2a626f 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,11 +1 @@ -FROM node:14.11-alpine3.12 - -RUN apk add --no-cache git python3 build-base - -# Add Sudo to allow occasional usage of root. I wish I could remove this but I can't seem to get the node_modules volume working correctly. -RUN apk add --no-cache sudo \ - && echo node ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/node \ - && chmod 0440 /etc/sudoers.d/node - - -CMD [ "tail", "-f", "/dev/null" ] \ No newline at end of file +FROM node:latest