Files
taskqueue-server/Dockerfile
2025-09-12 11:35:25 +00:00

16 lines
376 B
Docker

# 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" ]