Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
FROM vladikoff/fxa-slim-image:1.0.0
RUN adduser --disabled-password --gecos '' fxa && adduser fxa sudo && echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
COPY . /home/fxa/fxa-auth-server
WORKDIR /home/fxa/fxa-auth-server
RUN chown -R fxa .
USER fxa
RUN npm install --production \
&& npm cache clear
CMD node ./bin/key_server.js
# Expose ports
EXPOSE 9000