*: initial commit

Signed-off-by: supphakitd <67319010028@technictrang.ac.th>
This commit is contained in:
2025-11-26 14:29:16 +07:00
commit 5ad9669776
2 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
name: Build Docker Image
run-name: Build Docker Image
on: [push]
jobs:
Build Docker Image:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Build docker image
run: |
set +e
docker image rm -f ubuntu-node:latest
set -e
docker build . -t ubuntu-node:latest

5
Dockerfile Normal file
View File

@@ -0,0 +1,5 @@
FROM docker.gitea.com/runner-images:ubuntu-latest
RUN sudo sed -i 's@http://archive.ubuntu.com@http://mirror.kku.ac.th@g' /etc/apt/sources.list.d/ubuntu.sources
RUN sudo apt update && sudo apt upgrade -y
RUN sudo apt install nodejs npm curl -y