Add podman installation instructions. Update dockerfile to stub env (#819)

* Added podman container installation docs. Updated dockerfile to stub env file if not present in source

* Fix typos
This commit is contained in:
Flynn 2023-08-24 20:20:37 -04:00 committed by GitHub
parent 887fec99ca
commit 5bbe411569
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 229 additions and 7 deletions

View file

@ -1,13 +1,17 @@
# Base node image
FROM node:19-alpine AS node
# Install curl for health check
RUN apk --no-cache add curl
COPY . /app
# Install dependencies
WORKDIR /app
RUN npm ci
# Install call deps - Install curl for health check
RUN apk --no-cache add curl && \
# We want to inherit env from the container, not the file
# This will preserve any existing env file if it's already in souce
# otherwise it will create a new one
touch .env && \
# Build deps in seperate
npm ci
# React client build
ENV NODE_OPTIONS="--max-old-space-size=2048"