File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
FROM ruby:3.3-alpine3.19 AS builder
4
4
5
- ENV LANG C.UTF-8
5
+ ENV LANG= C.UTF-8
6
6
ENV WORKDIR="/app/"
7
7
WORKDIR ${WORKDIR}
8
8
@@ -35,7 +35,7 @@ RUN apk add nodejs npm \
35
35
&& rm -rf /var/cache/apk/*; \
36
36
npm install -g prettier;
37
37
38
- ENV LANG C.UTF-8
38
+ ENV LANG= C.UTF-8
39
39
ENV RUBY_YJIT_ENABLE=1
40
40
ENV NODEJS_VERSION=20
41
41
ENV RACK_ENV=production
@@ -44,11 +44,12 @@ ENV RACK_ENV=production
44
44
ARG USERNAME=labradorite
45
45
RUN adduser -D ${USERNAME}
46
46
USER ${USERNAME}
47
+ ENV WORKDIR=/home/${USERNAME}
47
48
WORKDIR /home/${USERNAME}
48
49
49
50
EXPOSE 9292
50
51
51
52
COPY --from=gembuilder /usr/local/bundle/ /usr/local/bundle/
52
53
COPY --chown=${USERNAME} . ${WORKDIR}
53
54
54
- CMD bundle exec rackup -o0 -Eproduction
55
+ CMD [ " bundle" , " exec rackup -o0 -Eproduction" ]
You can’t perform that action at this time.
0 commit comments