mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-12 22:10:46 -05:00
Update build.yaml and Dockerfile
This commit is contained in:
parent
7836688473
commit
a19a949929
@ -14,16 +14,16 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout Server Project
|
||||
run: git clone https://dev.sp-tarkov.com/SPT-AKI/Server.git --branch "3.8.0-BE" --depth 1 "./SPT-AKI/Server"
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: 'refringe/Server'
|
||||
fetch-depth: 0
|
||||
lfs: true
|
||||
|
||||
- name: Checkout Git LFS Objects
|
||||
run: git lfs pull
|
||||
working-directory: ./SPT-AKI/Server
|
||||
|
||||
- name: Setup Node
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20.10.0'
|
||||
node-version: '20.10'
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm install
|
||||
|
@ -7,8 +7,9 @@ RUN apt-get update && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Set the working directory to /code
|
||||
WORKDIR /code
|
||||
|
||||
# Add a non-root user for running the build
|
||||
RUN useradd -m builder
|
||||
USER builder
|
||||
|
||||
WORKDIR /workspace
|
||||
|
Loading…
x
Reference in New Issue
Block a user