feat: Initial commit
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM golang:1.25
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
RUN apt-get -qq update -y &&\
|
||||
apt-get -qq install apt-utils wget curl -y &&\
|
||||
mkdir /opt/app &&\
|
||||
useradd -m -s /bin/bash appuser
|
||||
|
||||
COPY entry.sh /
|
||||
COPY bin/* /opt/app/
|
||||
|
||||
RUN chmod 777 /entry.sh && chown -R appuser:appuser /opt/app && chmod -R 777 /opt/app
|
||||
|
||||
ENTRYPOINT [ "/entry.sh" ]
|
||||
Reference in New Issue
Block a user