mirror of
https://github.com/sp-tarkov/db-website.git
synced 2025-02-02 17:49:21 -05:00
Docker build issue
Needed to save an argument value to an environment value before it could be used.
This commit is contained in:
parent
9b44ca6d26
commit
3b6196d0f5
@ -1,7 +1,9 @@
|
||||
ARG PROD=false
|
||||
|
||||
FROM node:20.12-slim
|
||||
|
||||
# Set the PROD environment variable from the build argument
|
||||
ARG PROD
|
||||
ENV PROD=$PROD
|
||||
|
||||
# Update and install dependencies
|
||||
RUN apt-get update && apt-get install -y curl unzip && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user