Skip to content

Commit

Permalink
Create volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Quintasan committed Oct 30, 2023
1 parent cddf1fd commit 2b4b2be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ FROM base
COPY --from=build /app /app
RUN addgroup app && \
adduser app --home /app --shell /bin/bash --ingroup app --disabled-password && \
chown -R app:app /app
chown -R app:app /app && \
mkdir -p /app/data
VOLUME /app/data
USER app
CMD ["ruby", "main.rb"]

0 comments on commit 2b4b2be

Please sign in to comment.