0
0
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:
Refringe 2024-03-01 12:46:12 -05:00
parent 7836688473
commit a19a949929
No known key found for this signature in database
GPG Key ID: DA8524051241DD36
2 changed files with 10 additions and 9 deletions

View File

@ -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

View File

@ -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