Revert base image and add global gyp install
Some checks failed
DRB Server Build / drb_server_build (push) Successful in 24s
DRB Tests / drb_mocha_tests (push) Failing after 59s

This commit is contained in:
Logan Cusano
2024-04-29 23:25:34 -04:00
parent abadcf5cb5
commit 9ce8928d82

View File

@@ -1,5 +1,5 @@
# Use the official Node.js image as the base image
FROM alpine:latest
FROM node:20
# Set the working directory inside the container
WORKDIR /server
@@ -8,6 +8,7 @@ WORKDIR /server
COPY package*.json ./
# Install dependencies
RUN npm install -g node-gyp
RUN npm install
# Copy the rest of the application code to the working directory