Archie Wood commited on
Commit
6011a0c
1 Parent(s): c6f43ec

Revert "lightweight image"

Browse files

This reverts commit 98da12a12c3591897dff8c394df30c824860ac05.

Files changed (1) hide show
  1. Dockerfile +14 -2
Dockerfile CHANGED
@@ -1,5 +1,17 @@
1
- FROM node:20-alpine AS builder
2
-
 
 
 
 
 
 
 
 
 
 
 
 
3
 
4
  # Build the app
5
  WORKDIR /usr/app
 
1
+ FROM ubuntu:22.04
2
+
3
+ # Install Node.js 20 - https://github.com/nodesource/distributions?tab=readme-ov-file#installation-instructions-deb
4
+ # And python3
5
+ RUN apt update \
6
+ && apt install -y curl python3 python3-pip \
7
+ && rm -rf /var/lib/apt/lists/*
8
+
9
+ RUN curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh \
10
+ && bash nodesource_setup.sh \
11
+ && apt update \
12
+ && apt install -y nodejs \
13
+ && rm -rf /var/lib/apt/lists/* \
14
+ && rm nodesource_setup.sh
15
 
16
  # Build the app
17
  WORKDIR /usr/app