File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ COPY . .
1313
1414# In the future, we can use https://github.com/yarnpkg/rfcs/pull/53 to make yarn use the node_modules
1515# directly which should be fast as it is slow because it populates its own cache every time.
16- RUN yarn && yarn task build:server:binary
16+ RUN yarn && NODE_ENV=production yarn task build:server:binary
1717
1818# We deploy with ubuntu so that devs have a familiar environment.
1919FROM ubuntu:18.10
@@ -30,5 +30,5 @@ RUN locale-gen en_US.UTF-8
3030# We unfortunately cannot use update-locale because docker will not use the env variables
3131# configured in /etc/default/locale so we need to set it manually.
3232ENV LANG=en_US.UTF-8
33- ENV LC_ALL=en_US.UTF-8
33+ ENV LC_ALL=en_US.UTF-8
3434ENTRYPOINT ["code-server" ]
You can’t perform that action at this time.
0 commit comments