Initial Github Actions push

Fix environment file

Revert main.yml change
This commit is contained in:
sethforprivacy
2023-12-13 11:33:03 -05:00
parent 913ff61c83
commit 79139193e5
5 changed files with 208 additions and 3 deletions
+11 -3
View File
@@ -2,14 +2,22 @@
# Docker build environment #
############################
FROM node:18.16.1-bookworm AS build
FROM node:18.16.1-bookworm-slim AS build
# Upgrade all packages and install dependencies
RUN apt-get update \
&& apt-get upgrade -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
python3 \
build-essential \
&& apt clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /build
COPY . .
RUN npm i
RUN npm run build
# Build Public Pool UI using NPM
RUN npm i && npm run build
############################
# Docker final environment #