clean: one RUN, no custom port

This commit is contained in:
2026-03-01 13:12:46 +01:00
parent 7244b9bcc5
commit 02e28aba4a

View File

@@ -7,11 +7,11 @@ WORKDIR /app
COPY gleam.toml manifest.toml ./ COPY gleam.toml manifest.toml ./
COPY src/ ./src/ COPY src/ ./src/
RUN gleam deps download && gleam build --target erlang RUN gleam deps download && \
gleam build --target erlang && \
adduser -D -H spasteg && \
chown -R spasteg:spasteg /app
RUN adduser -D -H spasteg && chown -R spasteg:spasteg /app
ENV PORT=3000
EXPOSE 3000 EXPOSE 3000
USER spasteg USER spasteg