Closed mymtw closed 5 months ago
FROM tarantool/tarantool:2.11.2
# Установка пакета для создания группы и пользователя
RUN apk --no-cache add shadow
# Создание группы и пользователя
ARG PUID=1000
ARG PGID=1000
ENV TARANTOOL_USER_NAME=test_user
ENV TARANTOOL_USER_PASSWORD=test_user
RUN mkdir -p /var/log/tarantool
RUN chown -R tarantool:tarantool /var/log/tarantool && chown -R tarantool:tarantool /var/log/
USER tarantool
COPY *.lua /opt/tarantool/
EXPOSE 3301
WORKDIR /opt/tarantool
# Изменение владельца и разрешений на файл
USER tarantool
CMD ["tarantool", "app.lua"]
docker compose
tarantool.Dockerfile
app.lua
получаю ошибку