Skip to content

Commit

Permalink
ci: Stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
EntraptaJ committed Sep 9, 2023
1 parent 91e2d10 commit 28cd5b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ tasks:
- init: npm install && npm run build
command: npm run start

image: gitpod/workspace-node:latest
image:
file: Dockerfile.dev
12 changes: 1 addition & 11 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -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" ]
FROM node:latest

0 comments on commit 28cd5b7

Please sign in to comment.